PHP Class Pinq\Queries\Scope

Author: Elliot Levin ([email protected])
Inheritance: implements Pinq\Queries\IScope
Show file Open project: timetoogo/pinq

Protected Properties

Property Type Description
$segments Pinq\Queries\ISegment[]
$sourceInfo Pinq\Queries\ISourceInfo

Public Methods

Method Description
__construct ( Pinq\Queries\ISourceInfo $sourceInfo, array $segments )
getParameters ( )
getSegments ( )
getSourceInfo ( )
isEmpty ( )
update ( Pinq\Queries\ISourceInfo $sourceInfo, array $segments )
updateSegments ( array $segments )
updateSource ( Pinq\Queries\ISourceInfo $sourceInfo )
visit ( Pinq\Queries\Segments\ISegmentVisitor $visitor )

Method Details

__construct() public method

public __construct ( Pinq\Queries\ISourceInfo $sourceInfo, array $segments )
$sourceInfo Pinq\Queries\ISourceInfo
$segments array

getParameters() public method

public getParameters ( )

getSegments() public method

public getSegments ( )

getSourceInfo() public method

public getSourceInfo ( )

isEmpty() public method

public isEmpty ( )

update() public method

public update ( Pinq\Queries\ISourceInfo $sourceInfo, array $segments )
$sourceInfo Pinq\Queries\ISourceInfo
$segments array

updateSegments() public method

public updateSegments ( array $segments )
$segments array

updateSource() public method

public updateSource ( Pinq\Queries\ISourceInfo $sourceInfo )
$sourceInfo Pinq\Queries\ISourceInfo

visit() public method

public visit ( Pinq\Queries\Segments\ISegmentVisitor $visitor )
$visitor Pinq\Queries\Segments\ISegmentVisitor

Property Details

$segments protected property

protected ISegment[],Pinq\Queries $segments
return Pinq\Queries\ISegment[]

$sourceInfo protected property

protected ISourceInfo,Pinq\Queries $sourceInfo
return Pinq\Queries\ISourceInfo