You are here

CacheableTestDomainObject.php in Zircon Profile 8.0

File

core/modules/system/tests/modules/early_rendering_controller_test/src/CacheableTestDomainObject.php
View source
<?php

/**
 * @file
 * Contains \Drupal\early_rendering_controller_test\CacheableTestDomainObject.
 */
namespace Drupal\early_rendering_controller_test;

use Drupal\Core\Cache\CacheableDependencyInterface;
class CacheableTestDomainObject extends TestDomainObject implements CacheableDependencyInterface {

  /**
   * {@inheritdoc}
   */
  public function getCacheContexts() {
    return [];
  }

  /**
   * {@inheritdoc}
   */
  public function getCacheTags() {
    return [];
  }

  /**
   * {@inheritdoc}
   */
  public function getCacheMaxAge() {
    return 0;
  }

}

Classes