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

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

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

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

        $cache
            ->getQueryCache($region)
            ->clear();
    }
public function clearBuildableEnvironmentsByApplication ( Application $ application ) { $ region = sprintf ( self :: ENV_QUERY_REGION , $ application -> id ( ) ) ; $ cache = $ this -> getEntityManager ( ) -> getCache ( ) ; $ cache -> getQueryCache ( $ region ) -> clear ( ) ; }
Clear cache for buildable environments for an application.

@param Application $application

@return void
Clear cache for buildable environments for an application .