codeTemplates/src/Entity/Relations/TemplateEntity/Traits/HasRequiredTemplateEntitiesAbstract.php
private function initTemplateEntities(): self
    {
        if (null !== $this->templateEntities) {
            return $this;
        }
        $this->templateEntities = new ArrayCollection();

        return $this;
    }
private function initTemplateEntities(): self
    {
        if (null !== $this->templateEntities) {
            return $this;
        }
        $this->templateEntities = new ArrayCollection();

        return $this;
    }
private function initTemplateEntities ( ) : self { if ( null !== $ this -> templateEntities ) { return $ this ; } $ this -> templateEntities = new ArrayCollection ( ) ; return $ this ; }
Initialise the templateEntities property as a Doctrine ArrayCollection

@return $this
@SuppressWarnings(PHPMD.UnusedPrivateMethod)
Initialise the templateEntities property as a Doctrine ArrayCollection