src/Storage/File/StorableFileFactory.php
public function makeFromLocalPath($path, $name = null, $mimeType = null)
    {
        $info = new SplFileInfo($path);

        return $this->makeFromFileInfo($info, $name, $mimeType);
    }
public function makeFromLocalPath($path, $name = null, $mimeType = null)
    {
        $info = new SplFileInfo($path);

        return $this->makeFromFileInfo($info, $name, $mimeType);
    }
public function makeFromLocalPath ( $ path , $ name = null , $ mimeType = null ) { $ info = new SplFileInfo ( $ path ) ; return $ this -> makeFromFileInfo ( $ info , $ name , $ mimeType ) ; }
Makes a normalized storable file instance from a local file path.

@param string      $path
@param string|null $name
@param string|null $mimeType
@return StorableFileInterface
Makes a normalized storable file instance from a local file path .