public function registerBusiness($registrationForm, $password = null, $name = null, $website = '')
    {
        $registration = $this->register($registrationForm, $password, $name);

        if (!$registration) {
            return false;
        }

        $website = ($registrationForm instanceof Registration) ?
            $registrationForm->getSite() : $website;

        return $this->convertToBusiness($name, $website);
    }
public function registerBusiness($registrationForm, $password = null, $name = null, $website = '')
    {
        $registration = $this->register($registrationForm, $password, $name);

        if (!$registration) {
            return false;
        }

        $website = ($registrationForm instanceof Registration) ?
            $registrationForm->getSite() : $website;

        return $this->convertToBusiness($name, $website);
    }
public function registerBusiness ( $ registrationForm , $ password = null , $ name = null , $ website = '' ) { $ registration = $ this -> register ( $ registrationForm , $ password , $ name ) ; if ( ! $ registration ) { return false ; } $ website = ( $ registrationForm instanceof Registration ) ? $ registrationForm -> getSite ( ) : $ website ; return $ this -> convertToBusiness ( $ name , $ website ) ; }
Register a new business account. At first we register a basic type account.
Then convert it to a business one. This is done to receive a confirmation
email after registration.

@param string|Registration $registrationForm
@param string $password
@param string $name
@param string $website
@return bool|mixed
Register a new business account . At first we register a basic type account . Then convert it to a business one . This is done to receive a confirmation email after registration .