PHP Class Caffeinated\Modules\Modules

显示文件 Open project: caffeinated/modules Class Usage Examples

Protected Properties

Property Type Description
$app Illuminate\Foundation\Application
$repository Caffeinated\Modules\Contracts\Repository

Public Methods

Method Description
__call ( string $method, mixed $arguments ) : mixed Oh sweet sweet magical method.
__construct ( Illuminate\Foundation\Application $app, Caffeinated\Modules\Contracts\Repository $repository ) Create a new Modules instance.
register ( ) : void Register the module service provider file from all modules.

Private Methods

Method Description
autoloadFiles ( array $module ) : void Autoload custom module files.
registerServiceProvider ( array $module ) : void Register the module service provider.

Method Details

__call() public method

Oh sweet sweet magical method.
public __call ( string $method, mixed $arguments ) : mixed
$method string
$arguments mixed
return mixed

__construct() public method

Create a new Modules instance.
public __construct ( Illuminate\Foundation\Application $app, Caffeinated\Modules\Contracts\Repository $repository )
$app Illuminate\Foundation\Application
$repository Caffeinated\Modules\Contracts\Repository

register() public method

Register the module service provider file from all modules.
public register ( ) : void
return void

Property Details

$app protected_oe property

protected Application,Illuminate\Foundation $app
return Illuminate\Foundation\Application

$repository protected_oe property

protected Repository,Caffeinated\Modules\Contracts $repository
return Caffeinated\Modules\Contracts\Repository