/** * @param null $config */ public function __construct($config = null) { Safan::setHandler($this); $this->runApplication(); }