behaviors/NormalizeTags.php
public function normalize()
    {
        if (!empty($this->owner->{$this->attribute})) {
            $this->owner->{$this->attribute} = $this->array2string(array_unique($this->string2array($this->owner->{$this->attribute})));
        }
    }
public function normalize()
    {
        if (!empty($this->owner->{$this->attribute})) {
            $this->owner->{$this->attribute} = $this->array2string(array_unique($this->string2array($this->owner->{$this->attribute})));
        }
    }
Normalizes the user-entered tags.