Param node in XML file with Dependency Injection rules.
It represents parameter, which is given during creating an object.
package |
Default |
---|
__construct(string $className = '', string $name = '', mixed $value = '')
string
string
mixed
getClassName() : string
string
getName() : string
string
getStoredValue() : mixed
If a special value is set, then it's returned. In other case can be returned a value which is set during initialization. If none value is set, then will be returned a null value.
mixed
getValue() : string
string
getXml() : string
string
setStoredValue(mixed $value) : \Dotpay\Loader\Xml\Param
className : string
var |
A name of a class to which belongs an object which is a value of the parameter |
---|
string
name : string
var |
A name of the parameter |
---|
string
value : string
var |
An initial value of the parameter |
---|
string
storedValue : mixed
var |
A value which is stored in this parameter. It can be set after initialization of the object and it can store for example an instance of other class |
---|
mixed