PHP Class Sulu\Bundle\GeneratorBundle\Manipulator\Manipulator

Exibir arquivo Open project: sulu/sulu

Protected Properties

Property Type Description
$line
$tokens

Protected Methods

Method Description
next ( ) Gets the next token.
peek ( $nb = 1 ) Peeks the next token.
setCode ( array $tokens, integer $line ) Sets the code to manipulate.
value ( $token ) Gets the value of a token.

Method Details

next() protected method

Gets the next token.
protected next ( )

peek() protected method

Peeks the next token.
protected peek ( $nb = 1 )

setCode() protected method

Sets the code to manipulate.
protected setCode ( array $tokens, integer $line )
$tokens array An array of PHP tokens
$line integer The start line of the code

value() protected method

Gets the value of a token.
protected value ( $token )

Property Details

$line protected_oe property

protected $line

$tokens protected_oe property

protected $tokens