public function addReferencesToEntity($entity)
    {
        foreach ($this->strategies as $strategy) {
            $strategy->addReferencesToEntity($entity);
        }

        $this->objectManager->flush();
    }
public function addReferencesToEntity($entity)
    {
        foreach ($this->strategies as $strategy) {
            $strategy->addReferencesToEntity($entity);
        }

        $this->objectManager->flush();
    }
public function addReferencesToEntity ( $ entity ) { foreach ( $ this -> strategies as $ strategy ) { $ strategy -> addReferencesToEntity ( $ entity ) ; } $ this -> objectManager -> flush ( ) ; }
Update Keyword References

@param mixed $entity
Update Keyword References