Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I got an error, parent provider doesn't have boot method #1

Open
demonstan opened this issue Feb 14, 2017 · 0 comments
Open

I got an error, parent provider doesn't have boot method #1

demonstan opened this issue Feb 14, 2017 · 0 comments

Comments

@demonstan
Copy link

FatalThrowableError in MonobulletServiceProvider.php line 18:
Call to undefined method Illuminate\Support\ServiceProvider::boot()

    public function boot()
    {
        parent::boot();//not exist???

        if (in_array(config('app.env'), (array) config('services.monobullet.env', config('app.env')))) {
            $monolog = Log::getMonolog();
            $monolog->pushHandler(new PushbulletHandler(
                config('services.monobullet.token'),
                config('services.monobullet.recipients'),
                config('services.monobullet.level', Logger::INFO),
                config('services.monobullet.propagate', true)
            ));
        }
    }
@demonstan demonstan changed the title I got a error, parent provider don't have boot method I got an error, parent provider don't have boot method Feb 14, 2017
@demonstan demonstan changed the title I got an error, parent provider don't have boot method I got an error, parent provider doesn't have boot method Feb 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant