ConfigSource
ConfigSource
SubTypes
Implemented by:
Methods summary
Modifier and Type | Method |
---|---|
public array | readArray ( ) |
public string | hashCode ( ) |
public string | __toString ( ) |
Methods in detail
-
readArray
array public readArray ( ) -
hashCode
string public hashCode ( )Returns a string which identifies a given config source. If the config source gets changed it should be different too. The hash code is used to determine if a cached config source is still valid. Generating the hash code should be fast. If your config source is an xml file for example you are not supposed to read the whole file and and generete md5-hash over it. A good hash code whould include the timestamp when the file was last modified. If this is not possible just return null. If this method returns null this config source can't be cached.return
string -
__toString
string public __toString ( )Returns a string which identifies the datasource. This method is used to build error messages.return
string
return
throws