protected function parse($source): array
    {
        $path = null;
        list($alias, $path) = explode(':', $source, 2);

        $path = ltrim($path, "\\/");
        $paths = $this->resolvePaths($alias);

        return [$alias, $paths, $path];
    }
protected function parse($source): array
    {
        $path = null;
        list($alias, $path) = explode(':', $source, 2);

        $path = ltrim($path, "\\/");
        $paths = $this->resolvePaths($alias);

        return [$alias, $paths, $path];
    }
protected function parse ( $ source ) : array { $ path = null ; list ( $ alias , $ path ) = explode ( ':' , $ source , 2 ) ; $ path = ltrim ( $ path , "\\/" ) ; $ paths = $ this -> resolvePaths ( $ alias ) ; return [ $ alias , $ paths , $ path ] ; }
Parse source string.

@param string $source (example: "default:file.txt")
@return array
Parse source string .