PHP Class Nelmio\Alice\Definition\SpecificationBag

Afficher le fichier Open project: nelmio/alice Class Usage Examples

Méthodes publiques

Méthode Description
__clone ( )
__construct ( Nelmio\Alice\Definition\MethodCallInterface $constructor = null, PropertyBag $properties, MethodCallBag $calls )
getConstructor ( ) : Nelmio\Alice\Definition\MethodCallInterface | null
getMethodCalls ( ) : MethodCallBag
getProperties ( ) : PropertyBag
mergeWith ( self $specs ) : self Creates a new instance to which the given specs have been merged. In case of conflicts, the existing values are kept.
withConstructor ( Nelmio\Alice\Definition\MethodCallInterface $constructor = null ) : self

Method Details

__clone() public méthode

public __clone ( )

__construct() public méthode

public __construct ( Nelmio\Alice\Definition\MethodCallInterface $constructor = null, PropertyBag $properties, MethodCallBag $calls )
$constructor Nelmio\Alice\Definition\MethodCallInterface
$properties PropertyBag
$calls MethodCallBag

getConstructor() public méthode

public getConstructor ( ) : Nelmio\Alice\Definition\MethodCallInterface | null
Résultat Nelmio\Alice\Definition\MethodCallInterface | null

getMethodCalls() public méthode

public getMethodCalls ( ) : MethodCallBag
Résultat MethodCallBag

getProperties() public méthode

public getProperties ( ) : PropertyBag
Résultat PropertyBag

mergeWith() public méthode

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

withConstructor() public méthode

public withConstructor ( Nelmio\Alice\Definition\MethodCallInterface $constructor = null ) : self
$constructor Nelmio\Alice\Definition\MethodCallInterface
Résultat self