public function build($aConnection, $isDevMode = true)
    {
        Type::addType('file_id', FileIdType::class);

        return EntityManager::create(
            $aConnection,
            Setup::createYAMLMetadataConfiguration([__DIR__ . '/Mapping'], $isDevMode)
        );
    }