PHPIndex

This page lists files in the current directory. You can view content, get download/execute commands for Wget, Curl, or PowerShell, or filter the list using wildcards (e.g., `*.sh`).

AlreadySubscribedException.php
wget 'https://lists2.roe3.org/FreshRSS/app/Exceptions/AlreadySubscribedException.php'
View Content
<?php
declare(strict_types=1);

class FreshRSS_AlreadySubscribed_Exception extends Minz_Exception {

	private string $feedName = '';

	public function __construct(string $url, string $feedName) {
		parent::__construct('Already subscribed! ' . $url, 2135);
		$this->feedName = $feedName;
	}

	public function feedName(): string {
		return $this->feedName;
	}
}
BadUrlException.php
wget 'https://lists2.roe3.org/FreshRSS/app/Exceptions/BadUrlException.php'
View Content
<?php
declare(strict_types=1);

class FreshRSS_BadUrl_Exception extends FreshRSS_Feed_Exception {

	public function __construct(string $url) {
		parent::__construct('`' . $url . '` is not a valid URL');
	}
}
ContextException.php
wget 'https://lists2.roe3.org/FreshRSS/app/Exceptions/ContextException.php'
View Content
<?php
declare(strict_types=1);

/**
 * An exception raised when a context is invalid
 */
class FreshRSS_Context_Exception extends Minz_Exception {

}
EntriesGetterException.php
wget 'https://lists2.roe3.org/FreshRSS/app/Exceptions/EntriesGetterException.php'
View Content
<?php
declare(strict_types=1);

class FreshRSS_EntriesGetter_Exception extends Minz_Exception {

}
FeedException.php
wget 'https://lists2.roe3.org/FreshRSS/app/Exceptions/FeedException.php'
View Content
<?php
declare(strict_types=1);

class FreshRSS_Feed_Exception extends Minz_Exception {

}
FeedNotAddedException.php
wget 'https://lists2.roe3.org/FreshRSS/app/Exceptions/FeedNotAddedException.php'
View Content
<?php
declare(strict_types=1);

class FreshRSS_FeedNotAdded_Exception extends Minz_Exception {

	private string $url = '';

	public function __construct(string $url) {
		parent::__construct('Feed not added! ' . $url, 2147);
		$this->url = $url;
	}

	public function url(): string {
		return $this->url;
	}
}
ZipException.php
wget 'https://lists2.roe3.org/FreshRSS/app/Exceptions/ZipException.php'
View Content
<?php
declare(strict_types=1);

class FreshRSS_Zip_Exception extends Minz_Exception {

	private int $zipErrorCode = 0;

	public function __construct(int $zipErrorCode) {
		parent::__construct('ZIP error!', 2141);
		$this->zipErrorCode = $zipErrorCode;
	}

	public function zipErrorCode(): int {
		return $this->zipErrorCode;
	}
}
ZipMissingException.php
wget 'https://lists2.roe3.org/FreshRSS/app/Exceptions/ZipMissingException.php'
View Content
<?php
declare(strict_types=1);

class FreshRSS_ZipMissing_Exception extends Minz_Exception {
}