You are here

public function HostInterface::setExpiry in http:BL 8

Sets the value for the expire field of a host entity.

Parameters

integer $timestamp: The new Host expire time.

Return value

\Drupal\httpbl\HostInterface The called host entity.

1 method overrides HostInterface::setExpiry()
Host::setExpiry in src/Entity/Host.php
Sets the value for the expire field of a host entity.

File

src/HostInterface.php, line 70

Class

HostInterface
Provides an interface defining an httpbl entity.

Namespace

Drupal\httpbl

Code

public function setExpiry($timestamp);