PHP Class SensioLabs\Deptrac\CollectorFactory

Show file Open project: sensiolabs-de/deptrac Class Usage Examples

Protected Properties

Property Type Description
$collectors SensioLabs\Deptrac\Collector\CollectorInterface[]

Public Methods

Method Description
__construct ( array $collectors )
getCollector ( $type ) : SensioLabs\Deptrac\Collector\CollectorInterface

Method Details

__construct() public method

public __construct ( array $collectors )
$collectors array

getCollector() public method

public getCollector ( $type ) : SensioLabs\Deptrac\Collector\CollectorInterface
$type
return SensioLabs\Deptrac\Collector\CollectorInterface

Property Details

$collectors protected property

protected CollectorInterface[],SensioLabs\Deptrac\Collector $collectors
return SensioLabs\Deptrac\Collector\CollectorInterface[]