getCodebase(); $function_id = \strtolower($source->getFilePath()) . ':' . $function->getLine() . ':' . (int)$function->getAttribute('startFilePos') . ':-:closure'; $storage = $codebase->getClosureStorage($source->getFilePath(), $function_id); parent::__construct($function, $source, $storage); } public function getTemplateTypeMap() { return $this->source->getTemplateTypeMap(); } /** * @return string */ public function getClosureId() { return strtolower($this->getFilePath()) . ':' . $this->function->getLine() . ':' . (int)$this->function->getAttribute('startFilePos') . ':-:closure'; } }