register(); }, 10, 1); $this->registerHooks(); } public function registerHooks() { //This hook will allow others to register their storage driver with individual storage providers } public function register(): array { static::$actions[] = [ "slug" => $this->getSlug(), 'instance' => $this ]; return static::$actions; } abstract public function handle(); abstract public function getSlug(): string; }