public function consume() { return function (&$argument, $start) { $argument = substr($argument, strlen($start)); }; }