Files
phinx-generate-migrations/app/src/Extend/Application.php
Juan Pablo Vial 0fddc3a310 App extension
2024-12-21 19:00:15 -03:00

20 lines
454 B
PHP

<?php
namespace ProVM\Extend;
use Psr\Container\ContainerInterface;
use Symfony\Component\Console;
class Application extends Console\Application
{
protected ContainerInterface $container;
public function getContainer(): ContainerInterface
{
return $this->container;
}
public function setContainer(ContainerInterface $container): Console\Application
{
$this->container = $container;
return $this;
}
}