| Current Path : /var/www/v3.cesa.co.za/bin/ |
| Current File : /var/www/v3.cesa.co.za/bin/mailchimp-synch.php |
<?php
use App\Kernel;
use Symfony\Bundle\FrameworkBundle\Console\Application;
require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';
return function (array $context) {
$kernel = new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
$application = new Application($kernel);
$command = $application->get('marketing_attendee:mc_synch');
$application->add($command);
$application->setDefaultCommand($command->getName(), true);
return $application;
};
//var_dump(array_keys($application->all()));