You are here

static function Recipe::StopTime in Realistic Dummy Content 8

2 calls to Recipe::StopTime()
Recipe::NewEntities in api/src/recipes/Recipe.php
Recipe::Run in api/src/recipes/Recipe.php

File

api/src/recipes/Recipe.php, line 76
Define autoload class.

Class

Recipe

Namespace

Drupal\realistic_dummy_content_api\recipes

Code

static function StopTime($id) {
  $timer = \Drupal\Component\Utility\Timer::stop(serialize($id));
  return $timer['time'];
}