ahir / facades
Facades is a library for a facade pattern.
This package's canonical repository appears to be gone and the package has been frozen as a result.
1.0.1
2014-12-03 14:01 UTC
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2024-01-15 23:44:30 UTC
README
Facades is a library for a facade pattern. You can use own facades like Laravel Facades.
Installation
To install through composer, simply put the following in your composer.json
file:
{ "require": { "ahir/facades": "1.*", } }
Usage
use Ahir\Facades\Facade; class Alert extends Facade { /** * Get the connector name of main class * * @return string */ public static function getFacadeAccessor() { return 'Acme\Libraries\Alert'; } }
Alert::sample();
License
MIT