Lggr
Public Member Functions | List of all members
Prophecy\Argument\Token\AnyValueToken Class Reference
Inheritance diagram for Prophecy\Argument\Token\AnyValueToken:
Inheritance graph
[legend]
Collaboration diagram for Prophecy\Argument\Token\AnyValueToken:
Collaboration graph
[legend]

Public Member Functions

 scoreArgument ($argument)
 
 isLast ()
 
 __toString ()
 

Detailed Description

Any single value token.

Author
Konstantin Kudryashov ever..nosp@m.zet@.nosp@m.gmail.nosp@m..com

Member Function Documentation

◆ __toString()

Prophecy\Argument\Token\AnyValueToken::__toString ( )

Returns string representation for token.

Returns
string

Implements Prophecy\Argument\Token\TokenInterface.

◆ isLast()

Prophecy\Argument\Token\AnyValueToken::isLast ( )

Returns false.

Returns
bool

Implements Prophecy\Argument\Token\TokenInterface.

◆ scoreArgument()

Prophecy\Argument\Token\AnyValueToken::scoreArgument (   $argument)

Always scores 3 for any argument.

Parameters
$argument
Returns
int

Implements Prophecy\Argument\Token\TokenInterface.


The documentation for this class was generated from the following file: