| 1 | <?php declare(strict_types=1); |
||
| 25 | class NativeModulesRepository implements NativeModulesRepositoryInterface |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * @var NativeModulePrototypeInterface[] |
||
| 29 | */ |
||
| 30 | private $modules = []; |
||
| 31 | |||
| 32 | public function __construct() |
||
| 35 | |||
| 36 | public function has($module): bool |
||
| 40 | |||
| 41 | public function get($module): NativeModulePrototypeInterface |
||
| 49 | |||
| 50 | public function put($module, NativeModulePrototypeInterface $value) |
||
| 58 | } |
||
| 59 |