public function __construct($path, array $roles) { $newpath = FilterPath::restrictController($path); parent::__construct($newpath, $roles); }