for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare( strict_types = 1 );
namespace WMDE\BannerServer\Controller;
abstract class AbstractCookieControllerWithFixedLifetime extends AbstractCookieController {
private readonly \DateInterval $cookieLifetime;
public function __construct( string $cookieLifetime ) {
$this->cookieLifetime = new \DateInterval( $cookieLifetime );
cookieLifetime
WMDE\BannerServer\Contro...rollerWithFixedLifetime
}
protected function getCookieLifetime(): \DateInterval {
return $this->cookieLifetime;