public function getGlobalScope($scope)
    {
        return array_first($this->globalScopes, function ($key, $value) use ($scope) {
            return $scope instanceof $value;
        });
    }
public function getGlobalScope($scope)
    {
        return array_first($this->globalScopes, function ($key, $value) use ($scope) {
            return $scope instanceof $value;
        });
    }
public function getGlobalScope ( $ scope ) { return array_first ( $ this -> globalScopes , function ( $ key , $ value ) use ( $ scope ) { return $ scope instanceof $ value ; } ) ; }
Get a global scope registered with the modal.

@param \Analogue\ORM\System\ScopeInterface $scope

@return \Analogue\ORM\System\ScopeInterface|null
Get a global scope registered with the modal .