for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Facades;
use Ronanchilvers\Foundation\Config;
use Ronanchilvers\Foundation\Facade\Facade;
use Slim\Views\Twig as TwigView;
/**
* Settings facade class
*
* @method static void set(string $key, mixed $value)
* @method static bool has(string $key)
* @method static mixed get(string $key, mixed $default = null)
* @method static mixed getOrThrow(string $key, string $message = null)
* @method static array getAll()
* @method static void merge(\Ronanchilvers\Foundation\Config $config)
* @author Ronan Chilvers <[email protected]>
*/
class Settings extends Facade
{
* @var string
protected static $serviceName = 'settings';
public static function getService()
$service = parent::getService();
return new Config($service);
}