Stevemo\Cpanel\CpanelServiceProvider::registerPassword PHP Метод

registerPassword() публичный Метод

Register bindings for the password reset
Автор: Steve Montambeault
public registerPassword ( )
    public function registerPassword()
    {
        $app = $this->app;
        $app->bind('Stevemo\\Cpanel\\User\\Form\\PasswordFormInterface', function ($app) {
            return new PasswordForm(new PasswordValidator($app['validator'], new MessageBag()), $app->make('Stevemo\\Cpanel\\User\\Repo\\CpanelUserInterface'), $app->make('Stevemo\\Cpanel\\User\\UserMailerInterface'));
        });
        $app->bind('Stevemo\\Cpanel\\User\\UserMailerInterface', function ($app) {
            return new UserMailer();
        });
    }