Gc\Component\Navigation::getBasePath PHP Method

getBasePath() public method

Get base Path
public getBasePath ( ) : string
return string
    public function getBasePath()
    {
        return $this->basePath;
    }

Usage Example

Esempio n. 1
0
 /**
  * Test
  *
  * @return void
  */
 public function testGetBasePath()
 {
     $this->object = new Navigation();
     $this->object->useActiveBranch(true);
     $this->object->setBasePath('/base/path');
     $this->assertEquals('/base/path', $this->object->getBasePath());
 }