EscolaLMS/Core

View on GitHub
src/Providers/Injectable.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

namespace EscolaLms\Core\Providers;

/**
 * @deprecated 1.1.0
 */
trait Injectable
{
    private function injectContract(array $contracts): void
    {
        foreach ($contracts as $abstract => $concrete) {
            $this->app->bind($abstract, $concrete);
        }
    }
}