| 1 | <?php |
||
| 21 | class ContainerFactory implements FactoryInterface |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var RandomStringGenerator |
||
| 25 | */ |
||
| 26 | protected $randomStringGenerator; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | private $className; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Factory constructor. |
||
| 35 | * |
||
| 36 | * @param string $className |
||
| 37 | */ |
||
| 38 | public function __construct($className, $randomStringGenerator) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | */ |
||
| 47 | public function create() |
||
| 55 | } |
||
| 56 |