src/Palmabit/Authentication/Helpers/FileRouteHelper.php
public function getPermFromRoute($route) {
    $menu_info = Config::get($this->config_path);

    foreach ($menu_info as $menu) {
      if ($menu[$this->route_variable_index] == $route) {
        return $menu[$this->pemissions_variable_index];
      }
    }
  }
public function getPermFromRoute($route) {
    $menu_info = Config::get($this->config_path);

    foreach ($menu_info as $menu) {
      if ($menu[$this->route_variable_index] == $route) {
        return $menu[$this->pemissions_variable_index];
      }
    }
  }
public function getPermFromRoute ( $ route ) { $ menu_info = Config :: get ( $ this -> config_path ) ; foreach ( $ menu_info as $ menu ) { if ( $ menu [ $ this -> route_variable_index ] == $ route ) { return $ menu [ $ this -> pemissions_variable_index ] ; } } }
Obtain the permissions from a given url

@param $url
@return mixed
Obtain the permissions from a given url