protected function isAggregateRoot($className, $propertySourceHint)
{
$className = $this->getUnproxiedClassName($className);
try {
$classSchema = $this->getClassSchema($className);
return $classSchema->isAggregateRoot();
} catch (ClassSchemaNotFoundException $exception) {
throw new ClassSchemaNotFoundException('No class schema found for "' . $className . '". The class should probably marked as entity or value object! This happened while examining "' . $propertySourceHint . '"', 1340185197);
}
}