AbstractCsv.php
2 months ago
ByteSequence.php
2 months ago
CannotInsertRecord.php
2 months ago
CharsetConverter.php
2 months ago
ColumnConsistency.php
2 months ago
EncloseField.php
2 months ago
EscapeFormula.php
2 months ago
Exception.php
2 months ago
HTMLConverter.php
2 months ago
Info.php
2 months ago
InvalidArgument.php
2 months ago
MapIterator.php
2 months ago
RFC4180Field.php
2 months ago
Reader.php
2 months ago
ResultSet.php
2 months ago
Statement.php
2 months ago
Stream.php
2 months ago
SyntaxError.php
2 months ago
TabularDataReader.php
2 months ago
UnableToProcessCsv.php
2 months ago
UnavailableFeature.php
2 months ago
UnavailableStream.php
2 months ago
Writer.php
2 months ago
XMLConverter.php
2 months ago
functions.php
2 months ago
functions_include.php
2 months ago
UnavailableFeature.php
38 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * League.Csv (https://csv.thephpleague.com) |
| 5 | * |
| 6 | * (c) Ignace Nyamagana Butera <nyamsprod@gmail.com> |
| 7 | * |
| 8 | * For the full copyright and license information, please view the LICENSE |
| 9 | * file that was distributed with this source code. |
| 10 | */ |
| 11 | declare (strict_types=1); |
| 12 | namespace ProfilePressVendor\League\Csv; |
| 13 | |
| 14 | use Throwable; |
| 15 | /** |
| 16 | * StreamFilterSupportMissing Exception. |
| 17 | */ |
| 18 | class UnavailableFeature extends Exception |
| 19 | { |
| 20 | /** |
| 21 | * DEPRECATION WARNING! This class will be removed in the next major point release. |
| 22 | * |
| 23 | * @deprecated since version 9.7.0 |
| 24 | */ |
| 25 | public function __construct(string $message = '', int $code = 0, Throwable $previous = null) |
| 26 | { |
| 27 | parent::__construct($message, $code, $previous); |
| 28 | } |
| 29 | public static function dueToUnsupportedStreamFilterApi(string $className): self |
| 30 | { |
| 31 | return new self('The stream filter API can not be used with a ' . $className . ' instance.'); |
| 32 | } |
| 33 | public static function dueToMissingStreamSeekability(): self |
| 34 | { |
| 35 | return new self('stream does not support seeking'); |
| 36 | } |
| 37 | } |
| 38 |