PHP Class Nelmio\Alice\Definition\PropertyBag

Inheritance: implements IteratorAggregate, implements Countable
Datei anzeigen Open project: nelmio/alice Class Usage Examples

Public Methods

Method Description
count ( ) : integer
getIterator ( )
isEmpty ( ) : boolean
mergeWith ( self $propertyBag ) : self Creates a new instance to which the given properties have been merged. In case of conflicts, the existing values are kept.
with ( Property $property ) : self

Method Details

count() public method

public count ( ) : integer
return integer

getIterator() public method

public getIterator ( )

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 $propertyBag ) : self
$propertyBag self
return self

with() public method

public with ( Property $property ) : self
$property Property
return self