$path->last() Returns the last element kirby/src/Toolkit/Collection.php#L676 $path->last(): mixed Return type mixed Parent class Kirby\Http\Path inherited from Kirby\Toolkit\Collection