Nextras\Orm\Entity\Reflection\MetadataParser::parseManyHasMany PHP Méthode

parseManyHasMany() protected méthode

protected parseManyHasMany ( PropertyMetadata $property, array &$args )
$property PropertyMetadata
$args array
    protected function parseManyHasMany(PropertyMetadata $property, array &$args)
    {
        $property->relationship = new PropertyRelationshipMetadata();
        $property->relationship->type = PropertyRelationshipMetadata::MANY_HAS_MANY;
        $property->container = ManyHasMany::class;
        $this->processRelationshipIsMain($args, $property);
        $this->processRelationshipEntityProperty($args, $property);
        $this->processRelationshipCascade($args, $property);
        $this->processRelationshipOrder($args, $property);
    }