getAbsolutePath() public method

Get application root absolute path.
public getAbsolutePath ( ) : string
return string
Example #1
0
 public function testGetAbsolutePath()
 {
     $env = Environment::getInstance();
     $env->initializeEnvironment(__DIR__ . '/../DemoApp/');
     $app = new Application($env);
     $this->assertSame(__DIR__ . '/../DemoApp/', $app->getAbsolutePath());
 }