This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Description
I'm receiving the error with a basic test.
templates/page.blade.php
@extends('layouts.base')
@section('content')
@while(have_posts()) @php(the_post())
@include('partials.page-header')
@include('partials.content-page')
@endwhile
{{$test}}
@endsection
controllers/page.php
<?php
namespace App;
use Sober\Controller\Controller;
class Page extends Controller
{
/**
* Protected methods will not be passed to the template
*/
protected function hidden()
{
}
/**
* Return test data
*
* @return array
*/
public function test()
{
return 'Testing';
}
}
Everything else is setup via defaults.