DurationInterface::setDuration

public DurationInterface::setDuration(\DateInterval $duration)

Sets the duration.

Parameters

\DateInterval $duration: A duration to set.

File

core/lib/Drupal/Core/TypedData/Type/DurationInterface.php, line 28

Class

DurationInterface
Interface for durations.

Namespace

Drupal\Core\TypedData\Type

Code

public function setDuration(\DateInterval $duration);
doc_Drupal
2016-10-29 09:03:23
Comments
Leave a Comment

Please login to continue.