public function trim($property, $chars = '\'\\"') { $this->addMethod('transform{it.' . $property . '.replaceFirst("^[' . $chars . ']?(.*?)[' . $chars . ']?\\$", "\\$1")}'); return $this; }