Skip to content

Target [BeatSwitch\Lock\Drivers\Driver] is not instantiable. #24

@lbausch

Description

@lbausch

First: I have seen Issue #3 but I'm using Laravel 5 and the latest version of laravel-lock, 0.2.1.

When trying dependency injection on the Controller (like suggested in the documentation)

public function __construct(\BeatSwitch\Lock\Manager $manager) {
    $this->lockManager = $manager;
}

this happens:

BindingResolutionException in Container.php line 785:
Target [BeatSwitch\Lock\Drivers\Driver] is not instantiable.

Any hints or suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions