public function getInputFilterSpecification() { return array( 'fsOne' => array( 'email' => array( 'validators' => array( array( 'name' => 'DoctrineModule\Validator\NoObjectExists', 'options' => array( 'object_repository' => $this->repository, 'fields' => 'email', ), 'messages' => array( 'objectFound' => 'Sorry guy, a user with this email already exists !' ) ) ) ) ) ); }