protected function registerPaymentMethod() { $paypal = new Paypal(); Payment::put($paypal->getIdentifier(), $paypal); }