| Total Complexity | 1 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | abstract class Binding |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var Repository |
||
| 9 | */ |
||
| 10 | protected $repository; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $key; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Binding constructor. |
||
| 19 | * |
||
| 20 | * @param Repository $repository |
||
| 21 | * @param string $key |
||
| 22 | */ |
||
| 23 | 38 | public function __construct(Repository $repository, string $key) |
|
| 29 |