public function __construct($path, array $roles) { $newpath = FilterPath::restrictController($path); parent::__construct($newpath, $roles); }
public function __construct($path, array $roles) { $arr = explode('.', $path); $newpath = FilterPath::restrictMethod($arr[0], $arr[1]); parent::__construct($newpath, $roles); }