public function getAdded($asArray = true)
    {
        $return = array();
        if ($asArray && $this->added) {
            foreach ($this->added as $file) {
                $return[] = $file->toArray();
            }
        }

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

        return $asArray ? $return : $this->added;
    }
public function getAdded ( $ asArray = true ) { $ return = array ( ) ; if ( $ asArray && $ this -> added ) { foreach ( $ this -> added as $ file ) { $ return [ ] = $ file -> toArray ( ) ; } } return $ asArray ? $ return : $ this -> added ; }
get Added.

@param bool $asArray

@return array|FileInfo[]
get Added .