register(); ( new NotFoundController() )->register(); ( new ToolsController() )->register(); } public static function can_manage(): bool { return Access::can_manage(); } public static function can_configure(): bool { return Access::can_configure(); } /** * A list of ids from a request, whatever form they arrived in. * * @return list */ public static function ids( mixed $value ): array { if ( is_string( $value ) ) { $value = explode( ',', $value ); } return array_values( array_unique( array_filter( array_map( 'absint', (array) $value ) ) ) ); } }