24 lines
399 B
PHP
24 lines
399 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Core;
|
|
|
|
/**
|
|
* Identifies a class as a root silverstripe application
|
|
*/
|
|
interface Application
|
|
{
|
|
/**
|
|
* Get the kernel for this application
|
|
*
|
|
* @return Kernel
|
|
*/
|
|
public function getKernel();
|
|
|
|
/**
|
|
* Invoke the application control chain
|
|
*
|
|
* @param callable $callback
|
|
*/
|
|
public function execute(callable $callback);
|
|
}
|