protected function getMaxIdentifierLength()
    {
        if ($this->tableNameLengthLimit === null) {
            $this->tableNameLengthLimit = $this->entityManager->getConnection()->getDatabasePlatform()->getMaxIdentifierLength();
        }

        return $this->tableNameLengthLimit;
    }
protected function getMaxIdentifierLength()
    {
        if ($this->tableNameLengthLimit === null) {
            $this->tableNameLengthLimit = $this->entityManager->getConnection()->getDatabasePlatform()->getMaxIdentifierLength();
        }

        return $this->tableNameLengthLimit;
    }
protected function getMaxIdentifierLength ( ) { if ( $ this -> tableNameLengthLimit === null ) { $ this -> tableNameLengthLimit = $ this -> entityManager -> getConnection ( ) -> getDatabasePlatform ( ) -> getMaxIdentifierLength ( ) ; } return $ this -> tableNameLengthLimit ; }
Derive maximum identifier length from doctrine DBAL

@return integer
Derive maximum identifier length from doctrine DBAL