public function add(string ...$tokens)
    {
        if (count($tokens) === 0) {
            return;
        }
        foreach ($tokens as $t) {
            if (in_array($t, $this->tokens)) {
                continue;
            }
            $this->tokens[] = $t;
        }
        $this->setAttributeValue();
    }
public function add(string ...$tokens)
    {
        if (count($tokens) === 0) {
            return;
        }
        foreach ($tokens as $t) {
            if (in_array($t, $this->tokens)) {
                continue;
            }
            $this->tokens[] = $t;
        }
        $this->setAttributeValue();
    }
public function add ( string ... $ tokens ) { if ( count ( $ tokens ) === 0 ) { return ; } foreach ( $ tokens as $ t ) { if ( in_array ( $ t , $ this -> tokens ) ) { continue ; } $ this -> tokens [ ] = $ t ; } $ this -> setAttributeValue ( ) ; }
Adds the given tokens to the list.

@param string[] $tokens The tokens you want to add to the list.
@return void
Adds the given tokens to the list .