File manager - Edit - /home/ferretapmx/public_html/plugins/system/helixultimate/vendor/scssphp/scssphp/src/Ast/FakeAstNode.php
Back
<?php /** * SCSSPHP * * @copyright 2012-2020 Leaf Corcoran * * @license http://opensource.org/licenses/MIT MIT * * @link http://scssphp.github.io/scssphp */ namespace ScssPhp\ScssPhp\Ast; use SourceSpan\FileSpan; /** * An {@see AstNode} that just exposes a single span generated by a callback. * * @internal */ final class FakeAstNode implements AstNode { /** * @var \Closure(): FileSpan */ private readonly \Closure $callback; /** * @param callable(): FileSpan $callback */ public function __construct(callable $callback) { $this->callback = $callback(...); } public function getSpan(): FileSpan { return ($this->callback)(); } public function __toString(): string { return ''; } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings