����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 18.116.62.169 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/./gltevjme/cbt.bofirm.com/vendor/sabberworm/php-css-parser/lib/Sabberworm/CSS/ |
Upload File : |
<?php namespace Sabberworm\CSS; use Sabberworm\CSS\Rule\Rule; /** * Parser settings class. * * Configure parser behaviour here. */ class Settings { /** * Multi-byte string support. If true (mbstring extension must be enabled), will use (slower) mb_strlen, mb_convert_case, mb_substr and mb_strpos functions. Otherwise, the normal (ASCII-Only) functions will be used. */ public $bMultibyteSupport; /** * The default charset for the CSS if no `@charset` rule is found. Defaults to utf-8. */ public $sDefaultCharset = 'utf-8'; /** * Lenient parsing. When used (which is true by default), the parser will not choke on unexpected tokens but simply ignore them. */ public $bLenientParsing = true; private function __construct() { $this->bMultibyteSupport = extension_loaded('mbstring'); } public static function create() { return new Settings(); } public function withMultibyteSupport($bMultibyteSupport = true) { $this->bMultibyteSupport = $bMultibyteSupport; return $this; } public function withDefaultCharset($sDefaultCharset) { $this->sDefaultCharset = $sDefaultCharset; return $this; } public function withLenientParsing($bLenientParsing = true) { $this->bLenientParsing = $bLenientParsing; return $this; } public function beStrict() { return $this->withLenientParsing(false); } }