src/Loader/DirectoryLoader.php
private function makeResources($paths)
    {
        if ($paths && !empty($paths)) {
            $resources = array();

            foreach ($paths as $path) {
                $resources[] = $path;
            }

            return $resources;
        }

        return false;
    }
private function makeResources($paths)
    {
        if ($paths && !empty($paths)) {
            $resources = array();

            foreach ($paths as $path) {
                $resources[] = $path;
            }

            return $resources;
        }

        return false;
    }
Makes usable resource paths from path strings

@param array $paths The path strings

@return array|bool  The usable resources if any, else false