public getAppBase ( ) : string | ||
리턴 | string | The app base directory |
public function getAppBase()
{
return $this->getNamingDirectory()->search(sprintf('php:env/%s/appBase', $this->getUniqueName()));
}
/** * Test if the getter/setter for the app base works. * * @return void */ public function testGetAppBase() { $this->assertEquals(ApplicationTest::APP_BASE, $this->application->getAppBase()); }