You've already forked php-auth
generated from siteworxpro/Php-Template
Some checks failed
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Failing after 1m19s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 1m9s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Failing after 1m19s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 1m34s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Failing after 1m20s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Failing after 12s
25 lines
470 B
PHP
25 lines
470 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Siteworxpro\App\Services\Facades;
|
|
|
|
use Siteworxpro\App\Services\Facade;
|
|
use Twig\Environment;
|
|
|
|
/**
|
|
* Class Twig
|
|
*
|
|
* Facade for accessing the Twig templating engine.
|
|
*
|
|
* @package Siteworxpro\App\Services\Facades
|
|
* @method static render(string $template, array $context = []): string
|
|
*/
|
|
class Twig extends Facade
|
|
{
|
|
protected static function getFacadeAccessor(): string
|
|
{
|
|
return Environment::class;
|
|
}
|
|
}
|