getNamespace() public method

Get application namespace.
public getNamespace ( ) : string
return string
Esempio n. 1
0
 public function testGetNamespace()
 {
     $env = Environment::getInstance();
     $env->initializeEnvironment(__DIR__ . '/../DemoApp/');
     $app = new Application($env);
     $this->assertSame('Webiny\\Component\\Bootstrap\\Tests\\DemoApp', $app->getNamespace());
 }