public function find($action) { return $this->getRepository()->findOneBy(array('action' => $action)); }