OneLogin_Saml2_Settings::getSchemasPath PHP Méthode

getSchemasPath() public méthode

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

Usage Example

Exemple #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());
 }