我的模块有错误.php。
我在这里得到了代码。
我正在按照说明进行操作,但我不知道我在哪里弄错了。
请参阅下面的代码:
<?php
namespace Album;
class Module
{
public function getAutoloaderConfig()
{
return array(
'ZendLoaderClassMapAutoloader' => array(
__DIR__ . '/autoload_classmap.php',
),
'ZendLoaderStandardAutoloader' => array(
'namespaces' => array(
__NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
),
),
);
}
public function getConfig()
{
return include __DIR__ . '/config/module.config.php';
}
您的代码末尾缺少右括号。在脚本末尾添加}
以关闭class
块