Overrides AbstractNode::classes
public function classes() : array { if ($this->classes === null) { $this->classes = []; foreach ($this->children as $child) { $this->classes = array_merge($this->classes, $child->classes()); } } return $this->classes; }