public static function find(array $query)
    {
        $pubs = Client::get('publication', $query);
        return array_map(function ($data) { return new self($data); }, $pubs);
    }
public static function find(array $query)
    {
        $pubs = Client::get('publication', $query);
        return array_map(function ($data) { return new self($data); }, $pubs);
    }
public static function find ( array $ query ) { $ pubs = Client :: get ( 'publication' , $ query ) ; return array_map ( function ( $ data ) { return new self ( $ data ) ; } , $ pubs ) ; }
Retrieve an array of Publication objects according to a search query.

@param array $query The query.
@return Publication[]
Retrieve an array of Publication objects according to a search query .