getWebPath() public method

Get application web path.
public getWebPath ( ) : string
return string
Example #1
0
 public function testGetWebPath()
 {
     $env = Environment::getInstance();
     $env->initializeEnvironment(__DIR__ . '/../DemoApp/');
     $app = new Application($env);
     $this->assertSame('http://www.myapp.com/', $app->getWebPath());
 }