src/Phlexible/Bundle/SearchBundle/Search/SearchResult.php
public function toArray()
    {
        return [
            'id' => $this->id,
            'author' => $this->author,
            'title' => $this->title,
            'date' => $this->date->format('U'),
            'component' => $this->component,
            'image' => $this->image,
            'handler' => $this->handler,
        ];
    }
public function toArray()
    {
        return [
            'id' => $this->id,
            'author' => $this->author,
            'title' => $this->title,
            'date' => $this->date->format('U'),
            'component' => $this->component,
            'image' => $this->image,
            'handler' => $this->handler,
        ];
    }
public function toArray ( ) { return [ 'id' => $ this -> id , 'author' => $ this -> author , 'title' => $ this -> title , 'date' => $ this -> date -> format ( 'U' ) , 'component' => $ this -> component , 'image' => $ this -> image , 'handler' => $ this -> handler , ] ; }
Return array repesentation of this search result.

@return array
Return array repesentation of this search result .