PhpGitHooks\Infrastructure\Hook\PrePush::__construct PHP Метод

__construct() публичный Метод

PrePush constructor.
public __construct ( string $remote, string $url )
$remote string
$url string
    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;
    }