1 | <?php namespace Distilleries\PermissionUtil\Helpers; |
||
6 | class PermissionUtil implements PermissionUtilContract { |
||
7 | |||
8 | protected $auth; |
||
9 | protected $config; |
||
10 | |||
11 | public function __construct(Guard $auth, array $config = []) { |
||
15 | |||
16 | public function hasAccess($key) |
||
36 | |||
37 | /* |
||
38 | * Checks each elements of the array if the access is granted |
||
39 | * @param Array $arrayKeys |
||
40 | * @param Boolean $isAndRelation: if true its a AND relation check, if false a OR relation |
||
41 | * @param String $child: if set, the hasAccess method will be called using element[$child] instead of the array's element itself |
||
42 | * @return boolean |
||
43 | */ |
||
44 | public function hasAccessArray($arrayKeys, $isAndRelation = false, $child = null) { |
||
60 | } |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.