Same name in other branches
- 6.0.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setTime()
- 8.x-4.x src/AdvaggSettersTrait.php \Drupal\advagg\AdvaggSettersTrait::setTime()
Obtaining system time.
Parameters
\Drupal\Component\Datetime\TimeInterface $time: The system time.
Return value
$this
File
-
src/
AdvaggSettersTrait.php, line 280
Class
- AdvaggSettersTrait
- The trait setters of ADVAGG module.
Namespace
Drupal\advaggCode
public function setTime(TimeInterface $time) {
$this->time = $time;
return $this;
}