public function addSigner($email_or_signer, $name = null, $index = null)
    {
        $signer = ($email_or_signer instanceof Signer)
            ? $email_or_signer
            : new Signer(array(
                'name' => $name,
                'email_address' => $email_or_signer
            ));

        if (isset($index)) {
            $this->signers[$index] = $signer;
        } else {
            $this->signers[] = $signer;
        }

        return $this;
    }
public function addSigner($email_or_signer, $name = null, $index = null)
    {
        $signer = ($email_or_signer instanceof Signer)
            ? $email_or_signer
            : new Signer(array(
                'name' => $name,
                'email_address' => $email_or_signer
            ));

        if (isset($index)) {
            $this->signers[$index] = $signer;
        } else {
            $this->signers[] = $signer;
        }

        return $this;
    }
public function addSigner ( $ email_or_signer , $ name = null , $ index = null ) { $ signer = ( $ email_or_signer instanceof Signer ) ? $ email_or_signer : new Signer ( array ( 'name' => $ name , 'email_address' => $ email_or_signer ) ) ; if ( isset ( $ index ) ) { $ this -> signers [ $ index ] = $ signer ; } else { $ this -> signers [ ] = $ signer ; } return $ this ; }
Adds a signer to the signature request

@param  mixed $email_or_signer
@param  string $name
@param  string $index
@return AbstractSignatureRequest
Adds a signer to the signature request