public function __construct(Config $config = null) { $this->config = null !== $config ? $config : new SimpleConfig(); $this->statistics = new Statistics(); }