4
0

AlreadySubscribedException.php 313 B

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