PHP Class Nelmio\Alice\Definition\MethodCall\OptionalMethodCall

Inheritance: implements Nelmio\Alice\Definition\MethodCallInterface
Mostra file Open project: nelmio/alice Class Usage Examples

Public Methods

Method Description
__construct ( Nelmio\Alice\Definition\MethodCallInterface $methodCall, OptionalFlag $flag )
__toString ( ) : string
getArguments ( )
getCaller ( )
getMethod ( ) : string
getPercentage ( ) : integer
withArguments ( array $arguments = null ) : self

Method Details

__construct() public method

public __construct ( Nelmio\Alice\Definition\MethodCallInterface $methodCall, OptionalFlag $flag )
$methodCall Nelmio\Alice\Definition\MethodCallInterface
$flag Nelmio\Alice\Definition\Flag\OptionalFlag

__toString() public method

public __toString ( ) : string
return string

getArguments() public method

public getArguments ( )

getCaller() public method

public getCaller ( )

getMethod() public method

public getMethod ( ) : string
return string

getPercentage() public method

public getPercentage ( ) : integer
return integer Element of ]0;100[.

withArguments() public method

public withArguments ( array $arguments = null ) : self
$arguments array
return self