Change parseMenu to parseACL (oops copy / paste)

This commit is contained in:
Kendrick Chan 2018-01-07 01:09:25 +08:00
parent b25345a46d
commit 12d2876825

View file

@ -44,7 +44,7 @@ class Generator
$resources[] = new FileResource($path);
// process acl config file
$data = $this->parseMenu($path, $key);
$data = $this->parseACL($path, $key);
}
catch (\InvalidArgumentException $e)
{
@ -65,7 +65,7 @@ class Generator
return $data;
}
protected function parseMenu($path, $key)
protected function parseACL($path, $key)
{
$parser = new YamlParser();
$config = $parser->parse(file_get_contents($path));