public function create($binding, $friendlyName, $factorType) {
        $data = Values::of(array(
            'Binding' => $binding,
            'FriendlyName' => $friendlyName,
            'FactorType' => $factorType,
        ));

        $payload = $this->version->create(
            'POST',
            $this->uri,
            array(),
            $data
        );

        return new FactorInstance(
            $this->version,
            $payload,
            $this->solution['serviceSid'],
            $this->solution['identity']
        );
    }
public function create($binding, $friendlyName, $factorType) {
        $data = Values::of(array(
            'Binding' => $binding,
            'FriendlyName' => $friendlyName,
            'FactorType' => $factorType,
        ));

        $payload = $this->version->create(
            'POST',
            $this->uri,
            array(),
            $data
        );

        return new FactorInstance(
            $this->version,
            $payload,
            $this->solution['serviceSid'],
            $this->solution['identity']
        );
    }
public function create ( $ binding , $ friendlyName , $ factorType ) { $ data = Values :: of ( array ( 'Binding' => $ binding , 'FriendlyName' => $ friendlyName , 'FactorType' => $ factorType , ) ) ; $ payload = $ this -> version -> create ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new FactorInstance ( $ this -> version , $ payload , $ this -> solution [ 'serviceSid' ] , $ this -> solution [ 'identity' ] ) ; }
Create a new FactorInstance

@param string $binding A unique binding for this Factor
@param string $friendlyName The friendly name of this Factor
@param string $factorType The Type of this Factor
@return FactorInstance Newly created FactorInstance
@throws TwilioException When an HTTP error occurs.
Create a new FactorInstance