__construct() публичный Метод

public __construct ( Pinq\Queries\ISourceInfo $sourceInfo, Pinq\Providers\Configuration\IQueryConfiguration $configuration = null )
$sourceInfo Pinq\Queries\ISourceInfo
$configuration Pinq\Providers\Configuration\IQueryConfiguration
Пример #1
0
 public function __construct(Queries\ISourceInfo $sourceInfo, IQueryCompilerConfiguration $compilerConfiguration)
 {
     parent::__construct($sourceInfo, $compilerConfiguration->getQueryConfiguration());
     $this->compilerConfiguration = $compilerConfiguration;
 }
Пример #2
0
 public function __construct(ITraversable $traversable)
 {
     parent::__construct(new SourceInfo($traversable));
     $this->scheme = $traversable->getIteratorScheme();
 }