PHP Class GraphAware\Reco4PHP\Common\ObjectSet

Inheritance: implements Set
Show file Open project: graphaware/reco4php Class Usage Examples

Protected Properties

Property Type Description
$className string
$elements array

Public Methods

Method Description
__construct ( $className )
add ( $element )
get ( $key )
getAll ( ) : object[]
size ( )

Protected Methods

Method Description
valid ( object $element ) : boolean

Method Details

__construct() final public method

final public __construct ( $className )

add() public method

public add ( $element )

get() public method

public get ( $key )

getAll() public method

public getAll ( ) : object[]
return object[]

size() public method

public size ( )

valid() protected method

protected valid ( object $element ) : boolean
$element object
return boolean

Property Details

$className protected property

protected string $className
return string

$elements protected property

protected array $elements
return array