Webiny\Component\Entity\EntityAttributeBuilder::many2many PHP Méthode

many2many() public méthode

public many2many ( string $collectionName ) : Many2ManyAttribute
$collectionName string Intermediate collection name
Résultat Webiny\Component\Entity\Attribute\Many2ManyAttribute
    public function many2many($collectionName)
    {
        return $this->attributes[$this->attribute] = new self::$classMap['many2many']($this->attribute, $this->entity, $collectionName);
    }