for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Dock\Installer\System\Mac;
use Dock\Installer\SoftwareInstallTask;
use SRIO\ChainOfResponsibility\DependentChainProcessInterface;
class Docker extends SoftwareInstallTask implements DependentChainProcessInterface
{
/**
* {@inheritdoc}
*/
public function getName()
return 'docker';
}
public function dependsOn()
return ['homebrew'];
protected function getVersionCommand()
return 'docker --version';
protected function getInstallCommand()
return 'brew install docker';