28 lines
503 B
PHP
28 lines
503 B
PHP
<?php
|
|
|
|
namespace Plugi\Contracts;
|
|
|
|
interface ThemeContract
|
|
{
|
|
/**
|
|
* Return all blocks of this theme.
|
|
*
|
|
* @return array array of ThemeBlock instances
|
|
*/
|
|
public function getThemeBlocks();
|
|
|
|
/**
|
|
* Return all layouts of this theme.
|
|
*
|
|
* @return array array of ThemeLayout instances
|
|
*/
|
|
public function getThemeLayouts();
|
|
|
|
/**
|
|
* Return the folder of this theme.
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function getFolder();
|
|
}
|