public function reset() { $this->places = array(); $this->transitions = array(); $this->initialPlace = null; }