PHP Class Deployer\Collection\Collection

Inheritance: implements Deployer\Collection\CollectionInterface, implements Countable
Datei anzeigen Open project: elfet/deployer Class Usage Examples

Public Methods

Method Description
__construct ( array $collection = [] ) Collection constructor.
count ( )
get ( $name )
getIterator ( )
has ( $name )
offsetExists ( $offset )
offsetGet ( $offset )
offsetSet ( $offset, $value )
offsetUnset ( $offset )
set ( $name, $object )
toArray ( ) : array

Method Details

__construct() public method

Collection constructor.
public __construct ( array $collection = [] )
$collection array

count() public method

public count ( )

get() public method

public get ( $name )

getIterator() public method

public getIterator ( )

has() public method

public has ( $name )

offsetExists() public method

public offsetExists ( $offset )

offsetGet() public method

public offsetGet ( $offset )

offsetSet() public method

public offsetSet ( $offset, $value )

offsetUnset() public method

public offsetUnset ( $offset )

set() public method

public set ( $name, $object )

toArray() public method

public toArray ( ) : array
return array