wrzuciłem swoje bundle na tani hosting. Niestety nie mam tam konsoli cmd, a więc trudno mi np. wykonać doctrine:schema:update .
W jaki sposób mogę to obejść ? Może jest jakaś "webowa" wersja tego app/console ?
<?php require_once __DIR__.'/../app/bootstrap.php.cache'; require_once __DIR__.'/../app/AppKernel.php'; require_once __DIR__.'/../vendor/symfony/symfony/src/Symfony/Component/Console/Output/OutputInterface.php'; require_once __DIR__.'/../vendor/symfony/symfony/src/Symfony/Component/Console/Formatter/OutputFormatterInterface.php'; use Symfony\Bundle\FrameworkBundle\Console\Application; use Symfony\Component\Console\Input\StringInput; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Formatter\OutputFormatterInterface; class LaczekOutput implements OutputInterface { public function write($messages, $newline = false, $type = 0){} public function writeln($messages, $type = 0){} public function setVerbosity($level){} public function getVerbosity(){} public function setDecorated($decorated){} public function isDecorated(){} public function setFormatter(OutputFormatterInterface $formatter){} public function getFormatter(){} } $input = new StringInput($_GET['q']); $kernel = new AppKernel($env, $debug); $application = new Application($kernel); $application->run($input, new LaczekOutput);