ResourceLocator/src/UniformResourceLocator.php
public function findResources($uri, $absolute = true, $all = false)
    {
        if (!\is_string($uri)) {
            throw new \BadMethodCallException('Invalid parameter $uri.');
        }

        return $this->findCached($uri, true, $absolute, $all);
    }
public function findResources($uri, $absolute = true, $all = false)
    {
        if (!\is_string($uri)) {
            throw new \BadMethodCallException('Invalid parameter $uri.');
        }

        return $this->findCached($uri, true, $absolute, $all);
    }
public function findResources ( $ uri , $ absolute = true , $ all = false ) { if ( ! \ is_string ( $ uri ) ) { throw new \ BadMethodCallException ( 'Invalid parameter $uri.' ) ; } return $ this -> findCached ( $ uri , true , $ absolute , $ all ) ; }
Find all instances from a resource.

@param  string $uri      Input URI to be searched.
@param  bool   $absolute Whether to return absolute path.
@param  bool   $all      Whether to return all paths even if they don't exist.
@throws \BadMethodCallException
@return array
Find all instances from a resource .