original_string: private static function registerUserProfile()
      {
          Agencms::registerRoute(
              Route::initSingle('profile', '', '/agencms-auth/profile')
                  ->icon('person')
                  ->addGroup(
                      Group::large('Details')->addField(
                          Field::number('id', 'Id')->readonly()->list(),
                          Field::string('name', 'Name')->medium()->required()->list(),
                          Field::string('email', 'Email')->medium()->readonly()->list()
                      ),
                      Group::small('Extra')->addField(
                          Field::image('avatar', 'Profile Picture')->ratio(600, 600, $resize = true)
                      )
                  )
          );
      }
code: private static function registerUserProfile()
      {
          Agencms::registerRoute(
              Route::initSingle('profile', '', '/agencms-auth/profile')
                  ->icon('person')
                  ->addGroup(
                      Group::large('Details')->addField(
                          Field::number('id', 'Id')->readonly()->list(),
                          Field::string('name', 'Name')->medium()->required()->list(),
                          Field::string('email', 'Email')->medium()->readonly()->list()
                      ),
                      Group::small('Extra')->addField(
                          Field::image('avatar', 'Profile Picture')->ratio(600, 600, $resize = true)
                      )
                  )
          );
      }
code_tokens: private static function registerUserProfile ( ) { Agencms :: registerRoute ( Route :: initSingle ( 'profile' , '' , '/agencms-auth/profile' ) -> icon ( 'person' ) -> addGroup ( Group :: large ( 'Details' ) -> addField ( Field :: number ( 'id' , 'Id' ) -> readonly ( ) -> list ( ) , Field :: string ( 'name' , 'Name' ) -> medium ( ) -> required ( ) -> list ( ) , Field :: string ( 'email' , 'Email' ) -> medium ( ) -> readonly ( ) -> list ( ) ) , Group :: small ( 'Extra' ) -> addField ( Field :: image ( 'avatar' , 'Profile Picture' ) -> ratio ( 600 , 600 , $ resize = true ) ) ) ) ; }
docstring: Register the Agencms endpoints for the User's account profile
  
  @return void
docstring_tokens: Register the Agencms endpoints for the User s account profile