protected function registerAlertComponents()
    {
        $components = ['title', 'text', 'button'];

        foreach ($components as $component) {
            $class = 'LaravelAdminPanel\\Alert\\Components\\'.ucfirst(camel_case($component)).'Component';

            $this->app->bind("admin.alert.components.{$component}", $class);
        }
    }
protected function registerAlertComponents()
    {
        $components = ['title', 'text', 'button'];

        foreach ($components as $component) {
            $class = 'LaravelAdminPanel\\Alert\\Components\\'.ucfirst(camel_case($component)).'Component';

            $this->app->bind("admin.alert.components.{$component}", $class);
        }
    }
protected function registerAlertComponents ( ) { $ components = [ 'title' , 'text' , 'button' ] ; foreach ( $ components as $ component ) { $ class = 'LaravelAdminPanel\\Alert\\Components\\' . ucfirst ( camel_case ( $ component ) ) . 'Component' ; $ this -> app -> bind ( "admin.alert.components.{$component}" , $ class ) ; } }
Register alert components.
Register alert components .