src/sys/file/SysFile.php
public static function getInfo($path)
    {
        $info = pathinfo($path);
        return array(
            "dirname" => Arr::get($info, "dirname", ""),
            "basename" => Arr::get($info, "basename", ""),
            "extension" => Arr::get($info, "extension", ""),
            "filename" => Arr::get($info, "filename", "")
        );
    }
public static function getInfo($path)
    {
        $info = pathinfo($path);
        return array(
            "dirname" => Arr::get($info, "dirname", ""),
            "basename" => Arr::get($info, "basename", ""),
            "extension" => Arr::get($info, "extension", ""),
            "filename" => Arr::get($info, "filename", "")
        );
    }
public static function getInfo ( $ path ) { $ info = pathinfo ( $ path ) ; return array ( "dirname" => Arr :: get ( $ info , "dirname" , "" ) , "basename" => Arr :: get ( $ info , "basename" , "" ) , "extension" => Arr :: get ( $ info , "extension" , "" ) , "filename" => Arr :: get ( $ info , "filename" , "" ) ) ; }
Gets the information of a file path.

@param string $path File path

@return string[]
Gets the information of a file path .