public function addModifier($modifier, callable $processor) { $this->modifiers[strtolower($modifier)] = $processor; return $this; }