src/GoogleMoviesClient/HttpClient/HttpClient.php
public function registerDefaults()
    {
        $requestSubscriber = new RequestSubscriber();
        $this->addSubscriber($requestSubscriber);

        $userAgentHeaderPlugin = new UserAgentHeaderPlugin();
        $this->addSubscriber($userAgentHeaderPlugin);

        return $this;
    }
public function registerDefaults()
    {
        $requestSubscriber = new RequestSubscriber();
        $this->addSubscriber($requestSubscriber);

        $userAgentHeaderPlugin = new UserAgentHeaderPlugin();
        $this->addSubscriber($userAgentHeaderPlugin);

        return $this;
    }
public function registerDefaults ( ) { $ requestSubscriber = new RequestSubscriber ( ) ; $ this -> addSubscriber ( $ requestSubscriber ) ; $ userAgentHeaderPlugin = new UserAgentHeaderPlugin ( ) ; $ this -> addSubscriber ( $ userAgentHeaderPlugin ) ; return $ this ; }
Register the default plugins.

@return $this
Register the default plugins .