PHP Interface Nelmio\Alice\Definition\MethodCallInterface

Exibir arquivo Open project: nelmio/alice Interface Usage Examples

Public Methods

Method Description
__toString ( ) : string
getArguments ( ) : Nelmio\Alice\Definition\ValueInterface[] | array | null
getCaller ( ) : Nelmio\Alice\Definition\ServiceReferenceInterface | null
getMethod ( ) : string
withArguments ( array $arguments = null ) : static

Method Details

__toString() public method

public __toString ( ) : string
return string

getArguments() public method

public getArguments ( ) : Nelmio\Alice\Definition\ValueInterface[] | array | null
return Nelmio\Alice\Definition\ValueInterface[] | array | null

getCaller() public method

public getCaller ( ) : Nelmio\Alice\Definition\ServiceReferenceInterface | null
return Nelmio\Alice\Definition\ServiceReferenceInterface | null No caller means that the caller is the instance of the object itself.

getMethod() public method

public getMethod ( ) : string
return string Method name

withArguments() public method

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