From 12d28768253b37bc1485c3c5954c2e922a34fa99 Mon Sep 17 00:00:00 2001 From: Kendrick Chan Date: Sun, 7 Jan 2018 01:09:25 +0800 Subject: [PATCH] Change parseMenu to parseACL (oops copy / paste) --- src/Access/Generator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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));