.. rst-class:: phpdoctorst .. role:: php(code) :language: php ClockAwareInterface =================== .. php:namespace:: Firstred\PostNL\Clock .. php:interface:: ClockAwareInterface Summary ------- Methods ~~~~~~~ * :php:meth:`public getClock\(\)` * :php:meth:`public setClock\($clock\)` Methods ------- .. rst-class:: public .. php:method:: public getClock() .. rst-class:: phpdoc-description | Get the current clock\. :Returns: :any:`\\Psr\\Clock\\ClockInterface ` :Since: 2.0.0 .. rst-class:: public .. php:method:: public setClock( $clock) .. rst-class:: phpdoc-description | Set the current clock\. :Parameters: * **$clock** (:any:`Psr\\Clock\\ClockInterface `) :Returns: void :Since: 2.0.0