Larabros\Elogram\Providers\EntityServiceProvider¶
-
class
EntityServiceProvider
¶ Adds repository classes to the container.
-
property
provides
¶ protected array
The provides array is a way to let the container know that a service is provided by this service provider. Every service that is registered via this service provider must have an alias added to this array or it will be ignored.
-
register
()¶ Use the register method to register items with the container via the protected
$this->container
property or thegetContainer
method from theContainerAwareTrait
.Returns: void
-
property