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

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

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

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

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

@param string $friendlyName A human-readable description of this Function.
@return FunctionInstance Newly created FunctionInstance
@throws TwilioException When an HTTP error occurs.
Create a new FunctionInstance