protected function getPostObject(): array
    {
        $oInput             = Factory::service('Input');
        $oUserGroupModel    = Factory::model('UserGroup', 'nails/module-auth');
        $oUserPasswordModel = Factory::model('UserPassword', 'nails/module-auth');

        return [
            'slug'                  => $oInput->post('slug'),
            'label'                 => $oInput->post('label'),
            'description'           => $oInput->post('description'),
            'default_homepage'      => $oInput->post('default_homepage'),
            'registration_redirect' => $oInput->post('registration_redirect'),
            'acl'                   => $oUserGroupModel->processPermissions($oInput->post('acl')),
            'password_rules'        => $oUserPasswordModel->processRules($oInput->post('pw')),
        ];
    }
protected function getPostObject(): array
    {
        $oInput             = Factory::service('Input');
        $oUserGroupModel    = Factory::model('UserGroup', 'nails/module-auth');
        $oUserPasswordModel = Factory::model('UserPassword', 'nails/module-auth');

        return [
            'slug'                  => $oInput->post('slug'),
            'label'                 => $oInput->post('label'),
            'description'           => $oInput->post('description'),
            'default_homepage'      => $oInput->post('default_homepage'),
            'registration_redirect' => $oInput->post('registration_redirect'),
            'acl'                   => $oUserGroupModel->processPermissions($oInput->post('acl')),
            'password_rules'        => $oUserPasswordModel->processRules($oInput->post('pw')),
        ];
    }
protected function getPostObject ( ) : array { $ oInput = Factory :: service ( 'Input' ) ; $ oUserGroupModel = Factory :: model ( 'UserGroup' , 'nails/module-auth' ) ; $ oUserPasswordModel = Factory :: model ( 'UserPassword' , 'nails/module-auth' ) ; return [ 'slug' => $ oInput -> post ( 'slug' ) , 'label' => $ oInput -> post ( 'label' ) , 'description' => $ oInput -> post ( 'description' ) , 'default_homepage' => $ oInput -> post ( 'default_homepage' ) , 'registration_redirect' => $ oInput -> post ( 'registration_redirect' ) , 'acl' => $ oUserGroupModel -> processPermissions ( $ oInput -> post ( 'acl' ) ) , 'password_rules' => $ oUserPasswordModel -> processRules ( $ oInput -> post ( 'pw' ) ) , ] ; }
Extract data from post variable

@return array
Extract data from post variable