Nextras\Orm\Entity\Reflection\MetadataParser::parseContainer PHP Метод

parseContainer() защищенный Метод

protected parseContainer ( PropertyMetadata $property, array &$args )
$property PropertyMetadata
$args array
    protected function parseContainer(PropertyMetadata $property, array &$args)
    {
        $className = $this->makeFQN(array_shift($args));
        if (!class_exists($className)) {
            throw new InvalidModifierDefinitionException("Class '{$className}' in {container} for {$this->currentReflection->name}::\${$property->name} property does not exist.");
        }
        $implements = class_implements($className);
        if (!isset($implements[IProperty::class])) {
            throw new InvalidModifierDefinitionException("Class '{$className}' in {container} for {$this->currentReflection->name}::\${$property->name} property does not implement Nextras\\Orm\\Entity\\IProperty interface.");
        }
        $property->container = $className;
    }