eZ\Bundle\EzPublishRestBundle\Features\Context\RestContext::__construct PHP Метод

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

Initialize class.
public __construct ( string $driver = self::DEFAULT_DRIVER, $type = self::DEFAULT_BODY_TYPE, $authType = self::DEFAULT_AUTH_TYPE )
$driver string REST Driver to be used
    public function __construct($driver = self::DEFAULT_DRIVER, $type = self::DEFAULT_BODY_TYPE, $authType = self::DEFAULT_AUTH_TYPE)
    {
        $this->driver = $driver;
        $this->restBodyType = $type;
        $this->authType = $authType;
        $this->setRestDriver($this->driver);
    }