I hava a error,It says phalcon\Mvc\Application::handle(): Call to method handle() on a non object,my code like this
$application = new Application($di);
// Register the installed modules
$application->registerModules(
array(
'frontend' => array(
'className' => 'Gkr\Frontend\Module',
'path' => '../apps/frontend/Module.php',
),
'backend' => array(
'className' => 'Gkr\Backend\Module',
'path' => '../apps/backend/Module.php',
)
)
);
echo $application->handle()->getContent();
can you help me?