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