getNamespace() public method

Get application namespace.
public getNamespace ( ) : string
return string
コード例 #1
0
ファイル: ApplicationTest.php プロジェクト: Webiny/Framework
 public function testGetNamespace()
 {
     $env = Environment::getInstance();
     $env->initializeEnvironment(__DIR__ . '/../DemoApp/');
     $app = new Application($env);
     $this->assertSame('Webiny\\Component\\Bootstrap\\Tests\\DemoApp', $app->getNamespace());
 }