public function find($scope)
    {
        if (strpos($scope, '.') === false) {
            $scope = $scope.'.'.AnInflector::singularize($scope);
        }

        if (isset($this[$scope])) {
            return $this[$scope];
        }

        return;
    }
public function find($scope)
    {
        if (strpos($scope, '.') === false) {
            $scope = $scope.'.'.AnInflector::singularize($scope);
        }

        if (isset($this[$scope])) {
            return $this[$scope];
        }

        return;
    }
public function find ( $ scope ) { if ( strpos ( $ scope , '.' ) === false ) { $ scope = $ scope . '.' . AnInflector :: singularize ( $ scope ) ; } if ( isset ( $ this [ $ scope ] ) ) { return $ this [ $ scope ] ; } return ; }
Return a scope using a key or not if not found.

@param string $scope

@return ComSearchDomainScope
Return a scope using a key or not if not found .