/** * {@inheritdoc} */ public function getOwnMagicProperties() { if ($this->ownMagicProperties === null) { $this->ownMagicProperties = []; if ($this->classReflection->isVisibilityLevelPublic() && $this->classReflection->getDocComment()) { $extractor = new AnnotationPropertyExtractor($this->classReflection->getReflectionFactory()); $this->ownMagicProperties += $extractor->extractFromReflection($this->classReflection); } } return $this->ownMagicProperties; }