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
10 lines
166 B
PHP
10 lines
166 B
PHP
<?php
|
|
|
|
use App\Services\ContentService;
|
|
|
|
function sorter()
|
|
{
|
|
$content = new ContentService();
|
|
$pages = $content->loadAllPages();
|
|
echo(count($pages));
|
|
}
|