protected function getPossibleFiles($name)
    {
        return array_map(function($extension) use ($name) {
            return str_replace('.', '/', $name).'.'.$extension;
        }, $this->extensions);
    }
protected function getPossibleFiles($name)
    {
        return array_map(function($extension) use ($name) {
            return str_replace('.', '/', $name).'.'.$extension;
        }, $this->extensions);
    }
protected function getPossibleFiles ( $ name ) { return array_map ( function ( $ extension ) use ( $ name ) { return str_replace ( '.' , '/' , $ name ) . '.' . $ extension ; } , $ this -> extensions ) ; }
Get an array of possible files.

@param string $name
@return array
Get an array of possible files .