You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
604 B
24 lines
604 B
<?php
|
|
// SPDX-License-Identifier: EUPL-1.2
|
|
// Authors: see README.md
|
|
|
|
namespace SeaCMS\App;
|
|
|
|
use SeacmsAppPlugin;
|
|
use SeaCMS\App\TestException;
|
|
use SeaCMS\App\TestInterface;
|
|
|
|
/**
|
|
* define interface for tests
|
|
*/
|
|
interface TestOnPageRenderingInterface extends TestInterface
|
|
{
|
|
/**
|
|
* run tests
|
|
* @param SeacmsAppPlugin $plugin
|
|
* @param string $templateName file name of the template
|
|
* @param array $twigVariables template variables
|
|
* @throws TestException
|
|
*/
|
|
public function runOnPageRendering(SeacmsAppPlugin $plugin, string $templateName, array $twigVariables);
|
|
}
|
|
|