public function make($first_name, $last_name, $email, $phone, $otherAttributes = [])
    {
        $this->first_name = $first_name;
        $this->last_name = $last_name;
        $this->email = $email;
        $this->phone = $phone;

        $this->_setAttributes($otherAttributes);
        //set creatable
        $this->setCreatable(true);

        return $this;
    }
public function make($first_name, $last_name, $email, $phone, $otherAttributes = [])
    {
        $this->first_name = $first_name;
        $this->last_name = $last_name;
        $this->email = $email;
        $this->phone = $phone;

        $this->_setAttributes($otherAttributes);
        //set creatable
        $this->setCreatable(true);

        return $this;
    }
public function make ( $ first_name , $ last_name , $ email , $ phone , $ otherAttributes = [ ] ) { $ this -> first_name = $ first_name ; $ this -> last_name = $ last_name ; $ this -> email = $ email ; $ this -> phone = $ phone ; $ this -> _setAttributes ( $ otherAttributes ) ; //set creatable $ this -> setCreatable ( true ) ; return $ this ; }
set up a new customer object.

@param $first_name
@param $last_name
@param $email
@param $phone
@param array $otherAttributes

@return $this
set up a new customer object .