forked from projects/fipamo
ro
9a716acb29
moved methods of string service to helper function and got rid of the string service class still messing around with the sorter helper to see how dependecies work. sorting as a helper may be a bit too complex for what help functions are supposed to be
11 lines
166 B
PHP
11 lines
166 B
PHP
<?php
|
|
|
|
use App\Services\ContentService;
|
|
|
|
function sorter()
|
|
{
|
|
$content = new ContentService();
|
|
$pages = $content->loadAllPages();
|
|
echo(count($pages));
|
|
}
|