CacheableConflictHttpException
class CacheableConflictHttpException extends ConflictHttpException implements CacheableDependencyInterface (View source)
A cacheable ConflictHttpException.
Traits
Trait for \Drupal\Core\Cache\CacheableDependencyInterface.
Properties
| protected string[] | $cacheContexts | Cache contexts. |
from CacheableDependencyTrait |
| protected string[] | $cacheTags | Cache tags. |
from CacheableDependencyTrait |
| protected int | $cacheMaxAge | Cache max-age. |
from CacheableDependencyTrait |
Methods
$this
setCacheability(CacheableDependencyInterface $cacheability)
Sets cacheability; useful for value object constructors.
__construct(CacheableDependencyInterface $cacheability, $message = '', Exception $previous = NULL, $code = 0)
{@inheritdoc}
Details
protected $this
setCacheability(CacheableDependencyInterface $cacheability)
Sets cacheability; useful for value object constructors.
getCacheTags()
{@inheritdoc}
getCacheContexts()
{@inheritdoc}
getCacheMaxAge()
{@inheritdoc}
__construct(CacheableDependencyInterface $cacheability, $message = '', Exception $previous = NULL, $code = 0)
{@inheritdoc}