Container (Contracts)

Container

interface Container (View source)

Methods

bool bound( string $abstract)

Determine if the given abstract type has been bound.

void alias( string $abstract, string $alias)

Alias a type to a different name.

void tag( array|string $abstracts, array|mixed $tags)

Assign a set of tags to a given binding.