__construct() public method

public __construct ( Pinq\Queries\IScope $scope, Pinq\Providers\DSL\Compilation\IQueryCompilation $compilation )
$scope Pinq\Queries\IScope
$compilation Pinq\Providers\DSL\Compilation\IQueryCompilation
コード例 #1
0
 public function __construct(Queries\IScope $scope, Select $select)
 {
     parent::__construct($scope, $select);
     $this->compilation = $select;
     $this->compilation->sql = "SELECT * FROM {$this->compilation->tableName}";
 }
コード例 #2
0
ファイル: ScopeCompiler.php プロジェクト: timetoogo/pinq
 public function __construct(QueryCompilation $compilation, Queries\IScope $scope)
 {
     parent::__construct($scope, $compilation);
 }