/** * Clears all expression types */ public function clearTypes() { $this->types = array(); $this->typesCount = array(); $this->pluginInstances = array(); $this->plugins = array(); $this->events->clear(); Expression\Plugin::$indexes = array(); Expression\Plugin::$customClasses = array(); Expression\BlockType\Header::$ids = array(); }