24 private $initializeWithHyphen =
true;
29 private $pageRangeFormat;
34 private $demoteNonDroppingParticles;
43 foreach ($node->attributes() as $attribute) {
44 switch ($attribute->getName()) {
45 case 'initialize-with-hyphen':
46 $this->initializeWithHyphen =
"false" === (string) $attribute ?
false :
true;
48 case 'page-range-format':
51 case 'demote-non-dropping-particle':
64 return $this->initializeWithHyphen;
76 return $this->pageRangeFormat;
85 return $this->demoteNonDroppingParticles;