/** * @param Github\Client $github */ public function __construct(Github\Client $github) { $this->client = $github; $this->config = $github->getConfig(); $this->session = $github->getSession(); $this->currentUrl = $github->getCurrentUrl(); parent::__construct(); $this->monitor('Nette\\Application\\IPresenter'); }