EnumNode

EnumNode

class EnumNode extends ScalarNode

Node which only allows a finite set of values.

Methods

__construct(string $name, NodeInterface $parent = null, array $values = array())

Constructor.

setAttribute($key, $value) from BaseNode
getAttribute($key, $default = null) 登录查看完整内容