src/Entity/Factory/EntityFactory.php
public function createFactoryForEntity(string $entityFqn)
    {
        $this->assertEntityManagerSet();
        $factoryFqn = $this->namespaceHelper->getFactoryFqnFromEntityFqn($entityFqn);

        return new $factoryFqn($this, $this->entityManager);
    }
public function createFactoryForEntity(string $entityFqn)
    {
        $this->assertEntityManagerSet();
        $factoryFqn = $this->namespaceHelper->getFactoryFqnFromEntityFqn($entityFqn);

        return new $factoryFqn($this, $this->entityManager);
    }
public function createFactoryForEntity ( string $ entityFqn ) { $ this -> assertEntityManagerSet ( ) ; $ factoryFqn = $ this -> namespaceHelper -> getFactoryFqnFromEntityFqn ( $ entityFqn ) ; return new $ factoryFqn ( $ this , $ this -> entityManager ) ; }
Get an instance of the specific Entity Factory for a specified Entity

Not type hinting the return because the whole point of this is to have an entity specific method, which we
can't hint for

@param string $entityFqn

@return mixed
Get an instance of the specific Entity Factory for a specified Entity