Pinq\Queries\Query::updateScope PHP Метод

updateScope() публичный Метод

public updateScope ( Pinq\Queries\IScope $scope )
$scope Pinq\Queries\IScope
    public function updateScope(IScope $scope)
    {
        if ($this->scope === $scope) {
            return $this;
        }
        return $this->withScope($scope);
    }