Add new expected abstract method to Web\BaseController

- Cleanup obsolete use statements
This commit is contained in:
Hypolite Petovan 2018-11-19 22:11:22 -05:00
parent 9f80a14565
commit 8c1d4404c7
4 changed files with 6 additions and 9 deletions

View file

@ -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)

View file

@ -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;
} }

View file

@ -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>

View file

@ -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>
*/ */