public function getOwnProperties()
{
if ($this->ownProperties === null) {
$this->ownProperties = [];
foreach ($this->reflection->getOwnProperties($this->getVisibilityLevel()) as $property) {
$apiProperty = $this->reflectionFactory->createFromReflection($property);
if (!$this->isDocumented() || $apiProperty->isDocumented()) {
/** @var ReflectionElement $property */
$this->ownProperties[$property->getName()] = $apiProperty;
}
}
}
return $this->ownProperties;
}