public function __construct(Variable $variableReflection, Reflector $classReflection, $filePath, $allMetadataTagClasses = array()) { $this->reflection = $variableReflection; $this->filePath = $filePath; $this->allMetadataTagClasses = $allMetadataTagClasses; $this->classReflection = $classReflection; $this->className = $classReflection->getClassName(); foreach ($this->reflection->getMetadataTags() as $tag) { $this->metadataTags[] = $this->createTagProcessor($tag); } }