Method | Description | |
---|---|---|
entityCreated ( Rinvex\Repository\Contracts\RepositoryContract $repository, mixed $entity ) : void | Listen to entities created. | |
entityDeleted ( Rinvex\Repository\Contracts\RepositoryContract $repository, mixed $entity ) : void | Listen to entities deleted. | |
entityUpdated ( Rinvex\Repository\Contracts\RepositoryContract $repository, mixed $entity ) : void | Listen to entities updated. | |
subscribe ( Illuminate\Contracts\Events\Dispatcher $dispatcher ) | Register the listeners for the subscriber. |
public entityCreated ( Rinvex\Repository\Contracts\RepositoryContract $repository, mixed $entity ) : void | ||
$repository | Rinvex\Repository\Contracts\RepositoryContract | |
$entity | mixed | |
return | void |
public entityDeleted ( Rinvex\Repository\Contracts\RepositoryContract $repository, mixed $entity ) : void | ||
$repository | Rinvex\Repository\Contracts\RepositoryContract | |
$entity | mixed | |
return | void |
public entityUpdated ( Rinvex\Repository\Contracts\RepositoryContract $repository, mixed $entity ) : void | ||
$repository | Rinvex\Repository\Contracts\RepositoryContract | |
$entity | mixed | |
return | void |
public subscribe ( Illuminate\Contracts\Events\Dispatcher $dispatcher ) | ||
$dispatcher | Illuminate\Contracts\Events\Dispatcher |