for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the Meup TagCommander Bundle.
*
* (c) 1001pharmacies <http://github.com/1001pharmacies/tagcommander-bundle>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Meup\Bundle\TagcommanderBundle\EventDispatcher\Event;
use Symfony\Component\EventDispatcher\Event;
class DeployContainer extends Event
{
* @var string
protected $name;
protected $script;
* @var string|null
protected $version;
protected $alternative;
* @param string $name
* @param string $script
* @param string|null $version
* @param string|null $alternative
public function __construct($name, $script, $version = null, $alternative = null)
$this->name = $name;
$this->script = $script;
$this->version = $version;
$this->alternative = $alternative;
}
* @return string
public function getContainerName()
return $this->name;
public function getContainerScript()
return $this->script;
* @return string|null
public function getContainerVersion()
return $this->version;
public function getContainerAlternative()
return $this->alternative;