ReplaceTokens::createToken PHP Méthode

createToken() public méthode

Adds a token element to the map of tokens to replace.
public createToken ( ) : object
Résultat object The token added to the map of replacements. Must not be null.
    function createToken()
    {
        $num = array_push($this->_tokens, new Token());
        return $this->_tokens[$num - 1];
    }