PluginProbe
Independent Analytics – WordPress Analytics Plugin / 2.14.1
Independent Analytics – WordPress Analytics Plugin v2.14.1
2.15.5 2.15.4 2.15.3 2.15.2 2.15.1 2.15.0 2.14.10 trunk 1.1 1.10 1.10.1 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.17.1 1.17.2 1.17.3 1.17.4 1.18 1.18.1 1.19.0 All 120 releases
independent-analytics / vendor / league / csv / src / UnavailableFeature.php
UnavailableFeature.php
39 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 IAWPSCOPED\League\Csv;
13
14 use Throwable;
15 /**
16 * StreamFilterSupportMissing Exception.
17 * @internal
18 */
19 class UnavailableFeature extends Exception
20 {
21 /**
22 * DEPRECATION WARNING! This class will be removed in the next major point release.
23 *
24 * @deprecated since version 9.7.0
25 */
26 public function __construct(string $message = '', int $code = 0, Throwable $previous = null)
27 {
28 parent::__construct($message, $code, $previous);
29 }
30 public static function dueToUnsupportedStreamFilterApi(string $className) : self
31 {
32 return new self('The stream filter API can not be used with a ' . $className . ' instance.');
33 }
34 public static function dueToMissingStreamSeekability() : self
35 {
36 return new self('stream does not support seeking');
37 }
38 }
39