Linked Bindings
Linked bindings map a type to its implementation. This example maps the interface TransactionLogInterface to the implementation DatabaseTransactionLog:
$this->bind(TransactionLogInterface::class)->to(DatabaseTransactionLog::class);
Linked bindings map a type to its implementation. This example maps the interface TransactionLogInterface to the implementation DatabaseTransactionLog:
$this->bind(TransactionLogInterface::class)->to(DatabaseTransactionLog::class);