Skip to content

Commit

Permalink
Change class name to xp.lambda.Web, see xp-forge/web#104
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Nov 20, 2023
1 parent e48b3a4 commit 68c21a4
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?php namespace com\amazon\aws\lambda;
<?php namespace xp\lambda;

use com\amazon\aws\lambda\{Context, Environment, RequestContext};
use lang\{XPClass, IllegalArgumentException};
use util\UUID;
use util\cmd\Console;
use web\{Application, Filters};

/** Runs lambda HTTP APIs via `xp web com.amazon.aws.lambda.Ws [class]` */
class Ws extends Application {
class Web extends Application {
const TRACE= 'Root=1-5bef4de7-ad49b0e87f6ef6c87fc2e700;Parent=9a9197af755a6419;Sampled=1';
const REGION= 'test-local-1';

Expand Down Expand Up @@ -80,6 +81,6 @@ public function routes() {

/** @return string */
public function toString() {
return 'Lambda<'.$this->app->getName().'>';
return nameof($this).'<'.$this->app->getName().'>';
}
}

0 comments on commit 68c21a4

Please sign in to comment.