class BaseNode implements NodeInterface
The base node class.
Methods
__construct(string $name, NodeInterface $parent = null) Constructor.
setAttribute($key, $value)
getAttribute($key, $default = null)
hasAttribute($key)
getAttributes()
setAttributes(array $attributes)
removeAttribute($key)
setInfo(string $info) Sets an info message.
string getInfo() Returns info message.
setExample(string|array $example) Sets the example configuration fo