src/User/UserField.php
public function set(): UserFieldContract
    {
        $this->action->add([
            'user_new_form',
            'show_user_profile',
            'edit_user_profile'
        ], [$this, 'display']);

        $this->action->add([
            'user_register',
            'profile_update'
        ], [$this, 'save']);

        return $this;
    }
public function set(): UserFieldContract
    {
        $this->action->add([
            'user_new_form',
            'show_user_profile',
            'edit_user_profile'
        ], [$this, 'display']);

        $this->action->add([
            'user_register',
            'profile_update'
        ], [$this, 'save']);

        return $this;
    }
public function set ( ) : UserFieldContract { $ this -> action -> add ( [ 'user_new_form' , 'show_user_profile' , 'edit_user_profile' ] , [ $ this , 'display' ] ) ; $ this -> action -> add ( [ 'user_register' , 'profile_update' ] , [ $ this , 'save' ] ) ; return $ this ; }
Set the user fields.

@return UserFieldContract
Set the user fields .