*/ class Console { /** * Create symfony application and add commands * * @author Phil Burton */ public function __construct() { $this->init(); } /** * Initalise * * @author Phil Burton */ protected function init() { // Define the root of the application define('APP_ROOT', realpath(dirname(__FILE__) . '/../../') . '/'); } /** * Run main application code * * @author Phil Burton */ public function exec() { $vendors = Vendor::loadAll(); $input = new Input; $vendors->filterByInput($input); // $output = new Output; // // $output->printCollection($vendors); } }