/**
  *
  */
 public function __construct(App $app, EntityManager $em, DisconnectedClassMetadataFactory $cmf)
 {
     $cmf->setEntityManager($em);
     $this->app = $app;
     $this->metaData = $cmf->getAllMetaData();
     $this->entityManager = $em;
     parent::__construct('orm:generate:classes');
 }
 public function __construct()
 {
     if (version_compare(PHP_VERSION, '5.3.6', '>=')) {
         $this->backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
     } else {
         $this->backtrace = debug_backtrace();
     }
     return parent::__construct();
 }
 /**
  * @param null|string $colorMode (default: null)
  */
 public function __construct($colorMode = null)
 {
     $this->colorMode = $colorMode ?: Configuration::COLOR_MODE_AUTO;
     if (version_compare(PHP_VERSION, '5.3.6', '>=')) {
         $this->backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
     } else {
         $this->backtrace = debug_backtrace();
     }
     return parent::__construct();
 }
 /**
  * {@inheritdoc}
  */
 public function __construct($name = null)
 {
     $this->parserFactory = new ParserFactory();
     $this->parsers = array();
     parent::__construct($name);
 }
Beispiel #5
0
 /**
  * DrushCommand constructor.
  *
  * This accepts the Drush command configuration array and does a pretty
  * decent job of building a PsySH command proxy for it. Wheee!
  *
  * @param array $config
  *   Drush command configuration array.
  */
 public function __construct(array $config)
 {
     $this->config = $config;
     parent::__construct();
 }
 public function __construct()
 {
     $this->backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
     return parent::__construct();
 }