mirror of
https://github.com/symfony/scheduler.git
synced 2026-03-24 00:02:18 +01:00
[Scheduler] Mark component as non experimental
This commit is contained in:
@@ -15,8 +15,6 @@ namespace Symfony\Component\Scheduler\Attribute;
|
||||
* Service tag to autoconfigure schedules.
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental
|
||||
*/
|
||||
#[\Attribute(\Attribute::TARGET_CLASS)]
|
||||
class AsSchedule
|
||||
|
||||
@@ -4,6 +4,7 @@ CHANGELOG
|
||||
6.4
|
||||
---
|
||||
|
||||
* Make component non experimental
|
||||
* Add `--date` to `schedule:debug`
|
||||
* Allow setting timezone of next run date in CronExpressionTrigger
|
||||
* Add `AbstractTriggerDecorator`
|
||||
|
||||
@@ -28,8 +28,6 @@ use function Symfony\Component\Clock\now;
|
||||
* Command to list/debug schedules.
|
||||
*
|
||||
* @author Kevin Bond <kevinbond@gmail.com>
|
||||
*
|
||||
* @experimental
|
||||
*/
|
||||
#[AsCommand(name: 'debug:scheduler', description: 'List schedules and their recurring messages')]
|
||||
final class DebugCommand extends Command
|
||||
|
||||
@@ -14,9 +14,6 @@ namespace Symfony\Component\Scheduler\Generator;
|
||||
use Symfony\Component\Lock\LockInterface;
|
||||
use Symfony\Contracts\Cache\CacheInterface;
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
final class Checkpoint implements CheckpointInterface
|
||||
{
|
||||
private \DateTimeImmutable $time;
|
||||
|
||||
@@ -11,9 +11,6 @@
|
||||
|
||||
namespace Symfony\Component\Scheduler\Generator;
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
interface CheckpointInterface
|
||||
{
|
||||
public function acquire(\DateTimeImmutable $now): bool;
|
||||
|
||||
@@ -15,8 +15,6 @@ use Symfony\Component\Scheduler\Trigger\TriggerInterface;
|
||||
|
||||
/**
|
||||
* @author Tugdual Saunier <tugdual@saunier.tech>
|
||||
*
|
||||
* @experimental
|
||||
*/
|
||||
final class MessageContext
|
||||
{
|
||||
|
||||
@@ -17,9 +17,6 @@ use Symfony\Component\Scheduler\RecurringMessage;
|
||||
use Symfony\Component\Scheduler\Schedule;
|
||||
use Symfony\Component\Scheduler\ScheduleProviderInterface;
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
final class MessageGenerator implements MessageGeneratorInterface
|
||||
{
|
||||
private Schedule $schedule;
|
||||
|
||||
@@ -11,9 +11,6 @@
|
||||
|
||||
namespace Symfony\Component\Scheduler\Generator;
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
interface MessageGeneratorInterface
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -17,8 +17,6 @@ use Symfony\Component\Scheduler\RecurringMessage;
|
||||
* @internal
|
||||
*
|
||||
* @extends \SplHeap<array{\DateTimeImmutable, int, RecurringMessage}>
|
||||
*
|
||||
* @experimental
|
||||
*/
|
||||
final class TriggerHeap extends \SplHeap
|
||||
{
|
||||
|
||||
@@ -14,9 +14,6 @@ namespace Symfony\Component\Scheduler\Messenger;
|
||||
use Symfony\Component\Messenger\Stamp\StampInterface;
|
||||
use Symfony\Component\Scheduler\Generator\MessageContext;
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
final class ScheduledStamp implements StampInterface
|
||||
{
|
||||
public function __construct(public readonly MessageContext $messageContext)
|
||||
|
||||
@@ -17,9 +17,6 @@ use Symfony\Component\Messenger\Transport\TransportInterface;
|
||||
use Symfony\Component\Scheduler\Exception\LogicException;
|
||||
use Symfony\Component\Scheduler\Generator\MessageGeneratorInterface;
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
class SchedulerTransport implements TransportInterface
|
||||
{
|
||||
public function __construct(
|
||||
|
||||
@@ -20,9 +20,6 @@ use Symfony\Component\Scheduler\Exception\InvalidArgumentException;
|
||||
use Symfony\Component\Scheduler\Generator\MessageGenerator;
|
||||
use Symfony\Component\Scheduler\ScheduleProviderInterface;
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
class SchedulerTransportFactory implements TransportFactoryInterface
|
||||
{
|
||||
public function __construct(
|
||||
|
||||
@@ -3,11 +3,6 @@ Scheduler Component
|
||||
|
||||
Provides scheduling through Symfony Messenger.
|
||||
|
||||
**This Component is experimental**.
|
||||
[Experimental features](https://symfony.com/doc/current/contributing/code/experimental.html)
|
||||
are not covered by Symfony's
|
||||
[Backward Compatibility Promise](https://symfony.com/doc/current/contributing/code/bc.html).
|
||||
|
||||
Resources
|
||||
---------
|
||||
|
||||
|
||||
@@ -17,9 +17,6 @@ use Symfony\Component\Scheduler\Trigger\JitterTrigger;
|
||||
use Symfony\Component\Scheduler\Trigger\PeriodicalTrigger;
|
||||
use Symfony\Component\Scheduler\Trigger\TriggerInterface;
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
final class RecurringMessage
|
||||
{
|
||||
private string $id;
|
||||
|
||||
@@ -15,9 +15,6 @@ use Symfony\Component\Lock\LockInterface;
|
||||
use Symfony\Component\Scheduler\Exception\LogicException;
|
||||
use Symfony\Contracts\Cache\CacheInterface;
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
final class Schedule implements ScheduleProviderInterface
|
||||
{
|
||||
/** @var array<string,RecurringMessage> */
|
||||
|
||||
@@ -11,9 +11,6 @@
|
||||
|
||||
namespace Symfony\Component\Scheduler;
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
interface ScheduleProviderInterface
|
||||
{
|
||||
public function getSchedule(): Schedule;
|
||||
|
||||
@@ -15,9 +15,6 @@ use Symfony\Component\Clock\Clock;
|
||||
use Symfony\Component\Clock\ClockInterface;
|
||||
use Symfony\Component\Scheduler\Generator\MessageGenerator;
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
final class Scheduler
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -13,8 +13,6 @@ namespace Symfony\Component\Scheduler\Trigger;
|
||||
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental
|
||||
*/
|
||||
final class CallbackTrigger implements TriggerInterface
|
||||
{
|
||||
|
||||
@@ -20,8 +20,6 @@ use Symfony\Component\Scheduler\Exception\LogicException;
|
||||
* Use cron expressions to describe a periodical trigger.
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @experimental
|
||||
*/
|
||||
final class CronExpressionTrigger implements TriggerInterface
|
||||
{
|
||||
|
||||
@@ -11,9 +11,6 @@
|
||||
|
||||
namespace Symfony\Component\Scheduler\Trigger;
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
final class ExcludeTimeTrigger extends AbstractDecoratedTrigger
|
||||
{
|
||||
public function __construct(
|
||||
|
||||
@@ -13,9 +13,6 @@ namespace Symfony\Component\Scheduler\Trigger;
|
||||
|
||||
use Symfony\Component\Scheduler\Exception\InvalidArgumentException;
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
class PeriodicalTrigger implements TriggerInterface
|
||||
{
|
||||
private float $intervalInSeconds = 0.0;
|
||||
|
||||
@@ -11,9 +11,6 @@
|
||||
|
||||
namespace Symfony\Component\Scheduler\Trigger;
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
interface TriggerInterface extends \Stringable
|
||||
{
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user