for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Zenstruck\ScheduleBundle\Schedule\Extension;
use Zenstruck\ScheduleBundle\Schedule\HasMissingDependencyMessage;
/**
* @author Kevin Bond <[email protected]>
*/
final class WithoutOverlappingExtension extends LockingExtension implements HasMissingDependencyMessage
{
public const DEFAULT_TTL = 86400;
* @param int $ttl Maximum expected lock duration in seconds
public function __construct(int $ttl = self::DEFAULT_TTL)
parent::__construct($ttl);
}
public function __toString(): string
return 'Without overlapping';
public static function getMissingDependencyMessage(): string
return 'Symfony Lock is required to use the without overlapping extension. Install with "composer require symfony/lock".';