/** * Returns a string describing why the policy was violated * * @return string */ public function getCause() { return $this->evaluation->getMessage(); }
/** * {@inheritdoc} */ public function getMessages() { return [$this->lastResult->getMessage()]; }