FileInfo.php
public function toArray()
    {
        $data = array(
            'name' => $this->name,
            'hash' => $this->hash,
            'phash' => $this->phash,
            'mime' => $this->mime,
            'ts' => $this->ts,
            'size' => $this->size,
            'dirs' => $this->dirs,
            'read' => $this->read,
            'write' => $this->write,
            'locked' => $this->locked,
            'tmb' => $this->tmb,
            'alias' => $this->alias,
            'thash' => $this->thash,
            'dim' => $this->dim,
            'volumeid' => $this->volumeid,
            'path' => $this->path,
            'url' => $this->url,
        );

        return array_filter(
            $data,
            function ($var) {
                return !is_null($var);
            }
        );
    }
public function toArray()
    {
        $data = array(
            'name' => $this->name,
            'hash' => $this->hash,
            'phash' => $this->phash,
            'mime' => $this->mime,
            'ts' => $this->ts,
            'size' => $this->size,
            'dirs' => $this->dirs,
            'read' => $this->read,
            'write' => $this->write,
            'locked' => $this->locked,
            'tmb' => $this->tmb,
            'alias' => $this->alias,
            'thash' => $this->thash,
            'dim' => $this->dim,
            'volumeid' => $this->volumeid,
            'path' => $this->path,
            'url' => $this->url,
        );

        return array_filter(
            $data,
            function ($var) {
                return !is_null($var);
            }
        );
    }
public function toArray ( ) { $ data = array ( 'name' => $ this -> name , 'hash' => $ this -> hash , 'phash' => $ this -> phash , 'mime' => $ this -> mime , 'ts' => $ this -> ts , 'size' => $ this -> size , 'dirs' => $ this -> dirs , 'read' => $ this -> read , 'write' => $ this -> write , 'locked' => $ this -> locked , 'tmb' => $ this -> tmb , 'alias' => $ this -> alias , 'thash' => $ this -> thash , 'dim' => $ this -> dim , 'volumeid' => $ this -> volumeid , 'path' => $ this -> path , 'url' => $ this -> url , ) ; return array_filter ( $ data , function ( $ var ) { return ! is_null ( $ var ) ; } ) ; }
FileInfo return as array.

@return array
FileInfo return as array .