getErrors() public method

Returns an array with the errors, the array is empty when the settings is ok.
public getErrors ( ) : array
return array Errors
Ejemplo n.º 1
0
 /**
  * Tests the OneLogin_Saml2_Settings Constructor.
  * Case load setting from file
  *
  * @covers OneLogin_Saml2_Settings
  */
 public function testLoadSettingsFromFile()
 {
     $settings = new OneLogin_Saml2_Settings();
     $this->assertEmpty($settings->getErrors());
 }