public function toArray()
    {
        return array(
            'rawDiff' => $this->rawDiff,
            'files' => array_map(
                function (File $file) {
                    return $file->toArray();
                },
                $this->files
            ),
        );
    }
public function toArray()
    {
        return array(
            'rawDiff' => $this->rawDiff,
            'files' => array_map(
                function (File $file) {
                    return $file->toArray();
                },
                $this->files
            ),
        );
    }
public function toArray ( ) { return array ( 'rawDiff' => $ this -> rawDiff , 'files' => array_map ( function ( File $ file ) { return $ file -> toArray ( ) ; } , $ this -> files ) , ) ; }
Export a diff as array.

@return array The array
Export a diff as array .