1 | <?php |
||
5 | class CommandCronManipulator implements CronManipulator |
||
6 | { |
||
7 | /** @var ProcessRunner */ |
||
8 | private $processRunner; |
||
9 | |||
10 | /** @var FileSystem */ |
||
11 | private $fileSystem; |
||
12 | |||
13 | /** @var string */ |
||
14 | private $cronCommand; |
||
15 | |||
16 | public function __construct(ProcessRunner $processRunner, FileSystem $fileSystem, string $cronCommand = 'crontab') |
||
22 | |||
23 | public function replace(string $contents): void |
||
29 | |||
30 | public function getContent(): string |
||
34 | } |
||
35 |