public function __construct(Revision $revision) { $this->revision = $revision; $message = "Revision " . $revision->getStartTime()->format("c") . " of the object " . $revision->getContentType()->getName() . ":" . $revision->getOuuid() . " is locked by " . $revision->getLockBy() . " until " . $revision->getLockUntil()->format("c"); parent::__construct($message, 0, null); }