/** * Constructor * * @param array $config */ public function __construct(array $config) { parent::__construct($config); $this->_config['ref']['method'] = new ReflectionMethod($config['class'], $config['method']); $this->_config['ref']['class'] = new ReflectionClass($config['class']); $this->_config['doc']['class'] = $this->_config['ref']['class']->getDocComment(); $this->_config['doc']['method'] = $this->_config['ref']['method']->getDocComment(); }
/** * Constructor * * @param array $config */ public function __construct(array $config) { parent::__construct($config); }
/** * Constructor * * @param array $config */ public function __construct(array $config) { if (!isset($config['ua'])) { $config['ua'] = BEAR::dependency('BEAR_Agent')->getUa(); } parent::__construct($config); self::$_staticConfig = $this->_config; }
/** * Constructor * * @param array $config */ public function __construct(array $config) { parent::__construct($config); $this->_config['prefix'] = $this->_config['prefix'] ? $this->_config['prefix'] : $this->_config['info']['id'] . $this->_config['info']['version'] . (int) $this->_config['debug']; }