original_string: private function getAbilities($role)
      {
          $abilities = [];
          foreach (config('auth.acl') as $ability => $roles) {
              if (in_array($role, $roles)) {
                  $abilities[] = $ability;
              }
          }
  
          return $abilities;
      }
code: private function getAbilities($role)
      {
          $abilities = [];
          foreach (config('auth.acl') as $ability => $roles) {
              if (in_array($role, $roles)) {
                  $abilities[] = $ability;
              }
          }
  
          return $abilities;
      }
code_tokens: private function getAbilities ( $ role ) { $ abilities = [ ] ; foreach ( config ( 'auth.acl' ) as $ ability => $ roles ) { if ( in_array ( $ role , $ roles ) ) { $ abilities [ ] = $ ability ; } } return $ abilities ; }
docstring: Read the abilities from the ACL for the given role.
  
  @param $role
  @return array
docstring_tokens: Read the abilities from the ACL for the given role .