PHP Interface KGzocha\Searcher\Chain\Collection\CellCollectionInterface

Author: Krzysztof Gzocha ([email protected])
Inheritance: extends Countable, extends IteratorAggregate
Show file Open project: krzysztof-gzocha/searcher

Public Methods

Method Description
addCell ( KGzocha\Searcher\Chain\CellInterface $item )
addNamedCell ( string $name, KGzocha\Searcher\Chain\CellInterface $cell )
getCells ( ) : KGzocha\Searcher\Chain\CellInterface[]
getNamedCell ( string $name ) : KGzocha\Searcher\Chain\CellInterface | null

Method Details

addCell() public method

public addCell ( KGzocha\Searcher\Chain\CellInterface $item )
$item KGzocha\Searcher\Chain\CellInterface

addNamedCell() public method

public addNamedCell ( string $name, KGzocha\Searcher\Chain\CellInterface $cell )
$name string
$cell KGzocha\Searcher\Chain\CellInterface

getCells() public method

public getCells ( ) : KGzocha\Searcher\Chain\CellInterface[]
return KGzocha\Searcher\Chain\CellInterface[]

getNamedCell() public method

public getNamedCell ( string $name ) : KGzocha\Searcher\Chain\CellInterface | null
$name string
return KGzocha\Searcher\Chain\CellInterface | null