public static function find(array $query)
    {
        $employees = Client::get("employee", $query);
        return array_map(function ($data) { return new self($data); }, $employees);
    }
public static function find(array $query)
    {
        $employees = Client::get("employee", $query);
        return array_map(function ($data) { return new self($data); }, $employees);
    }
public static function find ( array $ query ) { $ employees = Client :: get ( "employee" , $ query ) ; return array_map ( function ( $ data ) { return new self ( $ data ) ; } , $ employees ) ; }
Retrieve an array of Employee objects according to a search query.

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