PHP Class Nelmio\Alice\Definition\MethodCallBag

Mostra file Open project: nelmio/alice Class Usage Examples

Public Methods

Method Description
isEmpty ( ) : boolean
mergeWith ( self $methodCallsBag ) : self Creates a new instance to which the given properties have been merged. In case of conflicts, the existing values are kept.
with ( Nelmio\Alice\Definition\MethodCallInterface $methodCall ) : self

Method Details

isEmpty() public method

public isEmpty ( ) : boolean
return boolean

mergeWith() public method

Creates a new instance to which the given properties have been merged. In case of conflicts, the existing values are kept.
public mergeWith ( self $methodCallsBag ) : self
$methodCallsBag self
return self

with() public method

public with ( Nelmio\Alice\Definition\MethodCallInterface $methodCall ) : self
$methodCall Nelmio\Alice\Definition\MethodCallInterface
return self