OneLogin_Saml2_Settings::getSchemasPath PHP Method

getSchemasPath() public method

Returns schema path.
public getSchemasPath ( ) : string
return string The external library folder path
    public function getSchemasPath()
    {
        return $this->_paths['lib'] . 'schemas/';
    }

Usage Example

Esempio n. 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());
 }