src/ClearSaleID/Entity/Request/Passenger.php
public static function create( $name, $legalDocumentType, $legalDocument )
    {
        $instance = new self;

        $instance->setName( $name );
        $instance->setLegalDocumentType( $legalDocumentType );
        $instance->setLegalDocument( $legalDocument );

        return $instance;
    }
public static function create( $name, $legalDocumentType, $legalDocument )
    {
        $instance = new self;

        $instance->setName( $name );
        $instance->setLegalDocumentType( $legalDocumentType );
        $instance->setLegalDocument( $legalDocument );

        return $instance;
    }
public static function create ( $ name , $ legalDocumentType , $ legalDocument ) { $ instance = new self ; $ instance -> setName ( $ name ) ; $ instance -> setLegalDocumentType ( $ legalDocumentType ) ; $ instance -> setLegalDocument ( $ legalDocument ) ; return $ instance ; }
@param  string $name
@param  int    $legalDocumentType
@param  string $legalDocument

@return \RodrigoPedra\ClearSaleID\Entity\Request\Passenger
@param string $name @param int $legalDocumentType @param string $legalDocument