Added MadelineProtoFactory facade (Factory)

This commit is contained in:
Setiawan Hu 2020-08-13 02:43:41 +07:00
parent 1ddaf00c30
commit 2ef3077852

25
src/Facades/Factory.php Normal file
View File

@ -0,0 +1,25 @@
<?php
namespace Hu\MadelineProto\Facades;
use Illuminate\Support\Facades\Facade;
use \Hu\MadelineProto\MadelineProto;
/**
* Facade for MadelineProtoFactory class.
*
* @package Hu\MadelineProto\Facades
*
* @method static MadelineProto get(mixed $session, array $config = null)
* @method static MadelineProto make(string $sessionFile, array $config)
*/
class Factory extends Facade
{
/**
* @inheritDoc
*/
protected static function getFacadeAccessor()
{
return 'madeline-proto-factory';
}
}