public function getContext($identity) {
        return new DocumentPermissionContext(
            $this->version,
            $this->solution['serviceSid'],
            $this->solution['documentSid'],
            $identity
        );
    }
public function getContext($identity) {
        return new DocumentPermissionContext(
            $this->version,
            $this->solution['serviceSid'],
            $this->solution['documentSid'],
            $identity
        );
    }
public function getContext ( $ identity ) { return new DocumentPermissionContext ( $ this -> version , $ this -> solution [ 'serviceSid' ] , $ this -> solution [ 'documentSid' ] , $ identity ) ; }
Constructs a DocumentPermissionContext

@param string $identity Identity of the user to whom the Sync Document
Permission applies.
@return \Twilio\Rest\Preview\Sync\Service\Document\DocumentPermissionContext
Constructs a DocumentPermissionContext