FrontBundle/Manager/NodeResponseManager.php
protected function formatCacheInfo($MaxAge, $isPublic)
    {
        if (is_null($MaxAge)) {
            $MaxAge = 0;
        }

        return array(self::MAX_AGE => $MaxAge, self::IS_PUBLIC => $isPublic);
    }
protected function formatCacheInfo($MaxAge, $isPublic)
    {
        if (is_null($MaxAge)) {
            $MaxAge = 0;
        }

        return array(self::MAX_AGE => $MaxAge, self::IS_PUBLIC => $isPublic);
    }
protected function formatCacheInfo ( $ MaxAge , $ isPublic ) { if ( is_null ( $ MaxAge ) ) { $ MaxAge = 0 ; } return array ( self :: MAX_AGE => $ MaxAge , self :: IS_PUBLIC => $ isPublic ) ; }
Generate a CacheInfo

@param int|null $MaxAge
@param bool     $isPublic

@return array
Generate a CacheInfo