diff --git a/src/Access/Generator.php b/src/Access/Generator.php index 1ec1d098..bb7e537b 100644 --- a/src/Access/Generator.php +++ b/src/Access/Generator.php @@ -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));