public function setAllowUnrecognizedTypes($allow) { $this->config['allow_unrecognized_types'] = (bool) $allow; return $this; }