| 1 | <?php |
||
| 9 | class ConfigurationWriter implements ConfigurationWriterInterface |
||
| 10 | { |
||
| 11 | const FILENAME = 'composer.json'; |
||
| 12 | |||
| 13 | /** @var SerializerInterface */ |
||
| 14 | private $serializer; |
||
| 15 | /** @var Filesystem */ |
||
| 16 | private $filesystem; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param SerializerInterface $serializer |
||
| 20 | * @param Filesystem $filesystem |
||
| 21 | */ |
||
| 22 | public function __construct(SerializerInterface $serializer, Filesystem $filesystem) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * {@inheritdoc} |
||
| 30 | */ |
||
| 31 | public function write(Configuration $configuration, $destinationPath) |
||
| 44 | } |
||
| 45 |