public function find($id) { $qb = $this->getLoadQuery(); $result = $qb->where($this->getAlias() . '.id = :id')->setParameter('id', $id)->execute()->fetch(); if ($result) { return $this->hydrate($result, $qb); } return false; }