[CONTROLLER][FeedController] Make post processing happen more automatically, reducing noise in individual controllers. Now it's enough to simply extends App\Core\Controller\FeedController, to implement a feed

This commit is contained in:
2021-12-08 10:20:37 +00:00
parent 7783922b2e
commit 3b8a3e953d
6 changed files with 27 additions and 17 deletions

View File

@@ -38,7 +38,7 @@ use App\Util\Common;
abstract class FeedController extends Controller
{
protected function process_feed(array $result)
public static function post_process(array $result)
{
$actor = Common::actor();