/** * Register a plug-in * * @param Aspamia_Http_Server_Plugin_Abstract $plugin */ public function registerPlugin(Aspamia_Http_Server_Plugin_Abstract $plugin) { $plugin->setServer($this); $this->_plugins[] = $plugin; }
public function __construct($config = array()) { parent::__construct($config); $this->_log = new Zend_Log(new Zend_Log_Writer_Stream($this->_config['stream'])); $this->_log->addFilter($this->_config['priority']); }