You are here

public function Subscription::setNow in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/PubSubHubbub/Model/Subscription.php \Zend\Feed\PubSubHubbub\Model\Subscription::setNow()

Set a DateTime instance for assisting with unit testing

Parameters

DateTime $now:

Return value

Subscription

File

vendor/zendframework/zend-feed/src/PubSubHubbub/Model/Subscription.php, line 137

Class

Subscription

Namespace

Zend\Feed\PubSubHubbub\Model

Code

public function setNow(DateTime $now) {
  $this->now = $now;
  return $this;
}