. // }}} /** * Define social's Note routes * * @package GNUsocial * @category Router * * @author Diogo Cordeiro * @author Hugo Sales * @copyright 2021 Free Software Foundation, Inc http://www.fsf.org * @license https://www.gnu.org/licenses/agpl.html GNU AGPL v3 or later */ namespace App\Routes; use App\Controller as C; use App\Core\Router; abstract class Note { public const LOAD_ORDER = 40; public static function load(Router $r): void { $r->connect('note_view', '/object/note/{id<\d+>}', [C\Note::class, 'NoteShow']); } }