silverstripe-framework/src/View/ThemeList.php

30 lines
673 B
PHP
Raw Normal View History

<?php
namespace SilverStripe\View;
/**
* Contains references to any number of themes or theme directories
*/
interface ThemeList
{
2016-11-29 00:31:16 +01:00
/**
* Returns a map of all themes information. The map is in the following format:
*
* <code>
* [
* '/mysite',
* 'vendor/module:themename',
* '/framework/admin'
* 'simple'
* ]
* </code>
*
* These may be in any format, including vendor/namespace:path, or /absolute-path,
* but will not include references to any other {@see ThemeContainer} as
* SSViewer::get_themes() does.
*
* @return array
*/
public function getThemes();
}