src/Resource/Keys.php
protected function populate(stdClass $response)
    {
        $keys = clone $this;

        $resp = $response->keys;
        $keys->data->basicAuth = $this->getIfSet('basicAuth', $resp);
        $keys->data->encryption = $this->getIfSet('encryption', $resp);

        return $keys;
    }
protected function populate(stdClass $response)
    {
        $keys = clone $this;

        $resp = $response->keys;
        $keys->data->basicAuth = $this->getIfSet('basicAuth', $resp);
        $keys->data->encryption = $this->getIfSet('encryption', $resp);

        return $keys;
    }
protected function populate ( stdClass $ response ) { $ keys = clone $ this ; $ resp = $ response -> keys ; $ keys -> data -> basicAuth = $ this -> getIfSet ( 'basicAuth' , $ resp ) ; $ keys -> data -> encryption = $ this -> getIfSet ( 'encryption' , $ resp ) ; return $ keys ; }
Mount keys structure.

@param \stdClass $response

@return $this
Mount keys structure .