public function create(Listener $listener)
    {
        $eloquent = Foundation::make('orchestra.user');
        $form = $this->presenter->profile($eloquent, 'orchestra::register');

        $form->extend(function ($form) {
            $form->submit = 'orchestra/foundation::title.register';
        });

        $this->fireEvent('form', [$eloquent, $form]);

        return $listener->showProfileCreator(compact('eloquent', 'form'));
    }
public function create(Listener $listener)
    {
        $eloquent = Foundation::make('orchestra.user');
        $form = $this->presenter->profile($eloquent, 'orchestra::register');

        $form->extend(function ($form) {
            $form->submit = 'orchestra/foundation::title.register';
        });

        $this->fireEvent('form', [$eloquent, $form]);

        return $listener->showProfileCreator(compact('eloquent', 'form'));
    }
public function create ( Listener $ listener ) { $ eloquent = Foundation :: make ( 'orchestra.user' ) ; $ form = $ this -> presenter -> profile ( $ eloquent , 'orchestra::register' ) ; $ form -> extend ( function ( $ form ) { $ form -> submit = 'orchestra/foundation::title.register' ; } ) ; $ this -> fireEvent ( 'form' , [ $ eloquent , $ form ] ) ; return $ listener -> showProfileCreator ( compact ( 'eloquent' , 'form' ) ) ; }
View registration page.

@param  \Orchestra\Contracts\Foundation\Listener\Account\ProfileCreator  $listener

@return mixed
View registration page .