public function __construct($title = null, array $values = []) { $this->root = new Step(); $this->title = null === $title ? 'Untitled Scenario' : $title; $this->values = $values; }