limingxinleo/hyperf-facade

v1.0.0 2021-02-14 06:58 UTC

This package is auto-updated.

Last update: 2024-11-15 17:18:38 UTC


README

安装

composer require limingxinleo/hyperf-facade

使用

<?php

use HFacade\Config;

Config::get('xxx');

当配置 BootListenerlisteners.php

<?php
use HFacade\Listener\BootListener;

return [
    BootListener::class
];

便可以不带命名空间使用门面

<?php

Config::get('app');