Add new expected abstract method to Web\BaseController
- Cleanup obsolete use statements
This commit is contained in:
parent
9f80a14565
commit
8c1d4404c7
|
@ -25,6 +25,11 @@ Please refer to the provided [installation instructions](INSTALL.md).
|
||||||
|
|
||||||
Please refer to the provided [update instructions](UPDATE.md).
|
Please refer to the provided [update instructions](UPDATE.md).
|
||||||
|
|
||||||
|
## Custom pages
|
||||||
|
|
||||||
|
If you need to add custom HTML pages as required by law to publish any website processing data in some countries, simply add your HTML files in the `config/pages` folder, they will be automatically linked from the footer.
|
||||||
|
The expected extension is `.html`.
|
||||||
|
|
||||||
## See also
|
## See also
|
||||||
|
|
||||||
- [Project Concepts](docs/Concepts.md)
|
- [Project Concepts](docs/Concepts.md)
|
||||||
|
|
|
@ -5,5 +5,5 @@ namespace Friendica\Directory\Controllers\Web;
|
||||||
|
|
||||||
abstract class BaseController
|
abstract class BaseController
|
||||||
{
|
{
|
||||||
|
abstract function render(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args): array;
|
||||||
}
|
}
|
|
@ -3,9 +3,6 @@
|
||||||
namespace Friendica\Directory\Controllers\Web;
|
namespace Friendica\Directory\Controllers\Web;
|
||||||
|
|
||||||
use \Friendica\Directory\Content\Pager;
|
use \Friendica\Directory\Content\Pager;
|
||||||
use PDO;
|
|
||||||
use Psr\Http\Message\ResponseInterface;
|
|
||||||
use Psr\Http\Message\ServerRequestInterface;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
||||||
|
|
|
@ -2,11 +2,6 @@
|
||||||
|
|
||||||
namespace Friendica\Directory\Controllers\Web;
|
namespace Friendica\Directory\Controllers\Web;
|
||||||
|
|
||||||
use \Friendica\Directory\Content\Pager;
|
|
||||||
use PDO;
|
|
||||||
use Psr\Http\Message\ResponseInterface;
|
|
||||||
use Psr\Http\Message\ServerRequestInterface;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue