mediawiki-skins-Citizen/includes/Components/CitizenComponent.php
alistair3149 03da361b97
feat(components): rewrite template data partials into CitizenComponent components ()
- Refactor existing template data-related partials into CitizenComponent components
- Re-implement user menu header as UserInfo
- Add description text for anon and temp user in UserMenu
---------

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2024-05-15 01:24:43 -04:00

18 lines
300 B
PHP

<?php
declare( strict_types=1 );
namespace MediaWiki\Skins\Citizen\Components;
/**
* Component interface for managing Citizen-modified components
*
* @internal
*/
interface CitizenComponent {
/**
* @return array of Mustache compatible data
*/
public function getTemplateData(): array;
}