$parent) { $this->parent = $parent; } public function handle( $request, $type = self::MASTER_REQUEST, $catch = true) { if ($request->getClientIp() === '127.0.0.1') { return $this->parent->handle($request); } throw new Exception('Not Authorized'); } } ?>