DurationInterface::getDuration

public DurationInterface::getDuration()

Returns the duration.

Return value

\DateInterval|null A DateInterval object or NULL if there is no duration.

Throws

\Exception

File

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

Class

DurationInterface
Interface for durations.

Namespace

Drupal\Core\TypedData\Type

Code

public function getDuration();
doc_Drupal
2016-10-29 09:03:23
Comments
Leave a Comment

Please login to continue.