OneLogin_Saml2_Settings::getBasePath PHP 메소드

getBasePath() 공개 메소드

Returns base path.
public getBasePath ( ) : string
리턴 string The base toolkit folder path
    public function getBasePath()
    {
        return $this->_paths['base'];
    }

Usage Example

예제 #1
0
 /**
  * Tests getSchemasPath method of the OneLogin_Saml2_Settings
  *
  * @covers OneLogin_Saml2_Settings::getSchemasPath
  */
 public function testGetSchemasPath()
 {
     $settings = new OneLogin_Saml2_Settings();
     $base = $settings->getBasePath();
     $this->assertEquals($base . 'lib/schemas/', $settings->getSchemasPath());
 }