for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SilverLeague\Console\Framework;
use Symfony\Component\Console\Application;
/**
* Forms the base for most Console classes to extend from. It is Application aware.
*
* @category silverstripe-console
* @author Robbie Averill <[email protected]>
*/
class ConsoleBase
{
* The Symfony console application
* @var Application
protected $application;
* @param Application $application
public function __construct(Application $application)
$this->application = $application;
}
* Set the Application
* @return $this
public function setApplication(Application $application)
return $this;
* Get the Symfony console Application
* @return Application
public function getApplication()
return $this->application;