22 lines
624 B
PHP
22 lines
624 B
PHP
<?php
|
|
namespace Contabilidad\Common\Define;
|
|
|
|
use Psr\Container\ContainerInterface as Container;
|
|
use Symfony\Component\Console\Application as Base;
|
|
|
|
class Application extends Base {
|
|
public function __construct(Container $container = null, string $name = 'UNKNOWN', string $version = 'UNKNOWN')
|
|
{
|
|
parent::__construct($name, $version);
|
|
$this->setContainer($container);
|
|
}
|
|
protected $container;
|
|
public function setContainer(Container $container) {
|
|
$this->container = $container;
|
|
return $this;
|
|
}
|
|
public function getContainer() {
|
|
return $this->container;
|
|
}
|
|
}
|