public function clearBuildableEnvironmentsByApplication(Application $application)
    {
        $region = sprintf(self::ENV_QUERY_REGION, $application->id());

        $cache = $this
            ->getEntityManager()
            ->getCache();

        $cache
            ->getQueryCache($region)
            ->clear();
    }