Response.php
public function toArray()
    {
        $data = array(
            'added' => $this->getAdded(true),
            'api' => $this->getApi(),
            'cwd' => $this->getCwd(true),
            'debug' => $this->getDebug(),
            'files' => $this->getFiles(true),
            'list' => $this->getList(),
            'netDrivers' => $this->getNetDrivers(),
            'options' => $this->getOptions(),
            'removed' => $this->getRemoved(true),
            'tree' => $this->getTree(true),
            'uplMaxSize' => $this->getUplMaxSize(),
            'content' => $this->getContent(),
            'size' => $this->getSize(),
            'error' => $this->getError(),
            'dim' => $this->getDim(),
        );

        return array_filter(
            $data,
            function ($var) {
                return !is_null($var);
            }
        );
    }
public function toArray()
    {
        $data = array(
            'added' => $this->getAdded(true),
            'api' => $this->getApi(),
            'cwd' => $this->getCwd(true),
            'debug' => $this->getDebug(),
            'files' => $this->getFiles(true),
            'list' => $this->getList(),
            'netDrivers' => $this->getNetDrivers(),
            'options' => $this->getOptions(),
            'removed' => $this->getRemoved(true),
            'tree' => $this->getTree(true),
            'uplMaxSize' => $this->getUplMaxSize(),
            'content' => $this->getContent(),
            'size' => $this->getSize(),
            'error' => $this->getError(),
            'dim' => $this->getDim(),
        );

        return array_filter(
            $data,
            function ($var) {
                return !is_null($var);
            }
        );
    }
public function toArray ( ) { $ data = array ( 'added' => $ this -> getAdded ( true ) , 'api' => $ this -> getApi ( ) , 'cwd' => $ this -> getCwd ( true ) , 'debug' => $ this -> getDebug ( ) , 'files' => $ this -> getFiles ( true ) , 'list' => $ this -> getList ( ) , 'netDrivers' => $ this -> getNetDrivers ( ) , 'options' => $ this -> getOptions ( ) , 'removed' => $ this -> getRemoved ( true ) , 'tree' => $ this -> getTree ( true ) , 'uplMaxSize' => $ this -> getUplMaxSize ( ) , 'content' => $ this -> getContent ( ) , 'size' => $ this -> getSize ( ) , 'error' => $ this -> getError ( ) , 'dim' => $ this -> getDim ( ) , ) ; return array_filter ( $ data , function ( $ var ) { return ! is_null ( $ var ) ; } ) ; }
get response as array.

@return array
get response as array .