Pinq\Providers\DSL\Compilation\Processors\Visitors\ScopeProcessor::processSource PHP Méthode

processSource() public méthode

public processSource ( Pinq\Queries\Common\ISource $source )
$source Pinq\Queries\Common\ISource
    public function processSource(Queries\Common\ISource $source)
    {
        if ($source instanceof Queries\Common\Source\QueryScope) {
            $processor = $this->forSubScope($source->getScope());
            return $source->update($processor->buildScope());
        }
        return $source;
    }