/** * @param Facebook\Facebook $facebook */ public function __construct(Facebook\Facebook $facebook) { $this->facebook = $facebook; $this->config = $facebook->config; $this->currentUrl = $facebook->getCurrentUrl(); parent::__construct(); }
/** * @param Facebook\Facebook $facebook */ public function __construct(Facebook\Facebook $facebook) { $this->facebook = $facebook; $this->config = $facebook->config; $this->currentUrl = $facebook->getCurrentUrl(); $this->monitor('Nette\\Application\\IPresenter'); parent::__construct(); }