| 1 | <?php |
||
| 7 | class BaseRegistrar implements RegistrarInterface |
||
| 8 | { |
||
| 9 | /** @var array */ |
||
| 10 | protected $registrations = []; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * {@inheritdoc} |
||
| 14 | */ |
||
| 15 | 36 | public function register($name, $sanitizer) |
|
| 25 | |||
| 26 | /** |
||
| 27 | * {@inheritdoc} |
||
| 28 | */ |
||
| 29 | 40 | public function isRegistred($name) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | */ |
||
| 37 | 24 | public function resolve($name) |
|
| 50 | } |
||
| 51 |