public function remove(string ...$tokens)
    {
        if (count($tokens) === 0) {
            return;
        }
        if (count($this->tokens) === 0) {
            return;
        }
        foreach ($tokens as $t) {
            $i = array_search($t, $this->tokens);
            if ($i === false) {
                continue;
            }
            array_splice($this->tokens, $i, 1);
        }
        $this->setAttributeValue();
    }
public function remove(string ...$tokens)
    {
        if (count($tokens) === 0) {
            return;
        }
        if (count($this->tokens) === 0) {
            return;
        }
        foreach ($tokens as $t) {
            $i = array_search($t, $this->tokens);
            if ($i === false) {
                continue;
            }
            array_splice($this->tokens, $i, 1);
        }
        $this->setAttributeValue();
    }
public function remove ( string ... $ tokens ) { if ( count ( $ tokens ) === 0 ) { return ; } if ( count ( $ this -> tokens ) === 0 ) { return ; } foreach ( $ tokens as $ t ) { $ i = array_search ( $ t , $ this -> tokens ) ; if ( $ i === false ) { continue ; } array_splice ( $ this -> tokens , $ i , 1 ) ; } $ this -> setAttributeValue ( ) ; }
Removes the specified tokens from the list. If the string does not exist in the list, no error is thrown.

@param string[] $tokens The token you want to remove from the list.
@return void
Removes the specified tokens from the list . If the string does not exist in the list no error is thrown .