for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace WsdlToPhp\WsSecurity;
class Expires extends Element
{
public const NAME = 'Expires';
public function __construct(int $timestamp, int $expiresIn = 3600, string $namespace = self::NS_WSU)
$this->setTimestampValue($timestamp + $expiresIn);
parent::__construct(self::NAME, $namespace, $this->getTimestampValue(true));
}