__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
Exemplo n.º 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}";
 }
Exemplo n.º 2
0
 public function __construct(QueryCompilation $compilation, Queries\IScope $scope)
 {
     parent::__construct($scope, $compilation);
 }