/** * Returns a string describing why the policy exists at all. * * A reasoning may not exist and in that case the method will return null. * * @return null|string */ public function getRationale() { return $this->evaluation->causedBy()->getRationale(); }
/** * {@inheritdoc} */ public function getMessages() { return [$this->lastResult->getMessage()]; }