Response.php
public function getFiles($asArray = false)
    {
        $return = array();
        if ($asArray && $this->files) {
            foreach ($this->files as $file) {
                $return[] = $file->toArray();
            }
        }

        return $asArray ? $return : $this->files;
    }
public function getFiles($asArray = false)
    {
        $return = array();
        if ($asArray && $this->files) {
            foreach ($this->files as $file) {
                $return[] = $file->toArray();
            }
        }

        return $asArray ? $return : $this->files;
    }
public function getFiles ( $ asArray = false ) { $ return = array ( ) ; if ( $ asArray && $ this -> files ) { foreach ( $ this -> files as $ file ) { $ return [ ] = $ file -> toArray ( ) ; } } return $ asArray ? $ return : $ this -> files ; }
get Files.

@param bool $asArray

@return array|FileInfo[]
get Files .