You are here

protected function ResponseTest::createDateTimeOneHourLater in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/ResponseTest.php \Symfony\Component\HttpFoundation\Tests\ResponseTest::createDateTimeOneHourLater()

File

vendor/symfony/http-foundation/Tests/ResponseTest.php, line 866

Class

ResponseTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

protected function createDateTimeOneHourLater() {
  $date = new \DateTime();
  return $date
    ->add(new \DateInterval('PT1H'));
}