2019-02-06 20:34:51 +03:00
|
|
|
<?php
|
2022-07-01 16:10:30 +03:00
|
|
|
|
2019-02-06 20:34:51 +03:00
|
|
|
/**
|
|
|
|
* This file is part of RSS-Bridge, a PHP project capable of generating RSS and
|
|
|
|
* Atom feeds for websites that don't have one.
|
|
|
|
*
|
|
|
|
* For the full license information, please view the UNLICENSE file distributed
|
|
|
|
* with this source code.
|
|
|
|
*
|
2022-07-01 16:10:30 +03:00
|
|
|
* @package Core
|
|
|
|
* @license http://unlicense.org/ UNLICENSE
|
|
|
|
* @link https://github.com/rss-bridge/rss-bridge
|
2019-02-06 20:34:51 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Interface for action objects.
|
|
|
|
*/
|
2022-07-01 16:10:30 +03:00
|
|
|
interface ActionInterface
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Execute the action.
|
|
|
|
*
|
|
|
|
* Note: This function directly outputs data to the user.
|
|
|
|
*
|
2022-11-07 20:22:54 +03:00
|
|
|
* @return ?string
|
2022-07-01 16:10:30 +03:00
|
|
|
*/
|
2022-07-08 22:06:14 +03:00
|
|
|
public function execute(array $request);
|
2019-02-06 20:34:51 +03:00
|
|
|
}
|