Skip to content

Commit

Permalink
disable unneeded plugin hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Sep 17, 2024
1 parent 2246cf0 commit 94c5812
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/CrudViewPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class CrudViewPlugin extends BasePlugin
* @var string|null
*/
protected ?string $name = 'CrudView';

/**
* Do bootstrapping or not
*
Expand All @@ -30,10 +31,31 @@ class CrudViewPlugin extends BasePlugin
*/
protected bool $consoleEnabled = false;

/**
* Enable middleware
*
* @var bool
*/
protected bool $middlewareEnabled = false;

/**
* Register container services
*
* @var bool
*/
protected bool $servicesEnabled = false;

/**
* Load routes or not
*
* @var bool
*/
protected bool $routesEnabled = false;

/**
* Load events or not
*
* @var bool
*/
protected bool $eventsEnabled = false;
}

0 comments on commit 94c5812

Please sign in to comment.