fipamo/app/Helpers/PageSorter.php

11 lines
166 B
PHP
Raw Normal View History

<?php
use App\Services\ContentService;
function sorter()
{
$content = new ContentService();
$pages = $content->loadAllPages();
echo(count($pages));
}