<?php

namespace Lily\Mock;

use Lily\Application\RoutedApplication;

class RoutedApplicationWithRoutes extends RoutedApplication
{
    public function routes()
    {
        return array(
            'index' => array('GET', '/', 'index'),
            'slug' => array('GET', '/slug/:slug', 'slug'),
        );
    }
}

<?php

namespace Lily\Mock;

use Lily\Application\RoutedApplication;

class RoutedApplicationWithRoutes extends RoutedApplication
{
    protected function routes()
    {
        return array(
            'index' => array('GET', '/', 'index'),
            'slug' => array('GET', '/slug/:slug', 'slug'),
        );
    }
}

Update ::routes() to be protected
Update ::routes() to be protected

There is no need for excessive access.