Skip to content

Shorthand for binding to the same type #33

@thekid

Description

@thekid

...to be used inside Bindings implementations, e.g.:

// Repetitive
$inject->bind(Implementations<DataSource>::class, new Implementations<DataSource>(/* ... */));

// Maybe something like this?
$inject->instance(new Implementations<DataSource>(/* ... */));

This would be consistent with the UseBindings DSL, see #23

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions