| 1 | <?php |
||
| 17 | class EncrypterManager implements InjectorInterface, SingletonInterface |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * To be constructed only once. |
||
| 21 | */ |
||
| 22 | const SINGLETON = self::class; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var EncrypterConfig |
||
| 26 | */ |
||
| 27 | protected $config = null; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param EncrypterConfig $config |
||
| 31 | */ |
||
| 32 | public function __construct(EncrypterConfig $config) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | public function createInjection(\ReflectionClass $class, $context = null) |
||
| 44 | } |