Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

Public Member Functions | List of all members
eZ\Publish\Core\MVC\Symfony\View\CachableView Interface Reference

A view that can be cached over HTTP. More...

Inheritance diagram for eZ\Publish\Core\MVC\Symfony\View\CachableView:

## Public Member Functions
| setCacheEnabled ($cacheEnabled)
| Sets the cache as enabled/disabled. More...
| isCacheEnabled ()
| Indicates if cache is enabled or not. More...

## Detailed Description

A view that can be cached over HTTP.

Should allow

Definition at line 14 of file CachableView.php.

## Member Function Documentation

## ◆ isCacheEnabled()

eZ\Publish\Core\MVC\Symfony\View\CachableView::isCacheEnabled | ( |  | ) |

Indicates if cache is enabled or not.

Returns
  bool

## ◆ setCacheEnabled()

eZ\Publish\Core\MVC\Symfony\View\CachableView::setCacheEnabled | ( |  | $cacheEnabled | ) |

Sets the cache as enabled/disabled.

Parameters

  bool | $cacheEnabled |

The documentation for this interface was generated from the following file:

- CachableView.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.