public __construct ( Pinq\Queries\IScope $scope, Pinq\Providers\DSL\Compilation\IQueryCompilation $compilation ) | ||
$scope | Pinq\Queries\IScope | |
$compilation | Pinq\Providers\DSL\Compilation\IQueryCompilation |
public function __construct(Queries\IScope $scope, Select $select) { parent::__construct($scope, $select); $this->compilation = $select; $this->compilation->sql = "SELECT * FROM {$this->compilation->tableName}"; }
public function __construct(QueryCompilation $compilation, Queries\IScope $scope) { parent::__construct($scope, $compilation); }