public function __construct($remote, $url) { $appKernel = new AppKernel('dev', true); $appKernel->boot(); $this->container = $appKernel->getContainer(); parent::__construct('pre-push'); $this->remote = $remote; $this->url = $url; }