/** * @param PlayerFind|Query $query * * @throws PlayerIdNotValidException * @throws PlayerNotExistsException * * @return PlayerResponse */ public function handle(Query $query) { $id = new PlayerId($query->playerId()); return $this->finder->__invoke($id); }