meraproject/vendor/pug-php/pug/src/Pug/Facade.php
keboss-m 5c21d25d45 Initial commit: Merakomis portal, Docker stack and user-reader API.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-24 11:04:05 +03:00

27 lines
461 B
PHP

<?php
namespace Pug;
use Phug\Phug;
/**
* Class Pug\Pug.
*/
class Facade
{
/**
* Set Pug\Pug as the default Phug rendering engine then call static method through the Phug facade.
*
* @param string $name
* @param array $arguments
*
* @return mixed
*/
public static function __callStatic($name, $arguments)
{
Pug::init();
return call_user_func_array([Phug::class, $name], $arguments);
}
}