1 2 3 4 5 6 7 8 9 10 11 12 13
<?php declare(strict_types=1); class FreshRSS_AlreadySubscribed_Exception extends Minz_Exception { public function __construct(string $url, private readonly string $feedName) { parent::__construct('Already subscribed! ' . $url, 2135); } public function feedName(): string { return $this->feedName; } }