Overview

Namespaces

  • Avisota
    • Event
    • Message
    • Queue
    • Recipient
    • RecipientSource
    • Renderer
    • Templating
    • Test
      • Database
      • Imap
      • Message
      • Queue
      • Renderer
      • Transport
    • Transport

Classes

  • TestQueueExecutionDecider
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Class TestQueueExecutionDecider

The execution decider decide if a message will be send now or delayed for next run.

Avisota\Test\Queue\TestQueueExecutionDecider implements Avisota\Queue\ExecutionDeciderInterface
Namespace: Avisota\Test\Queue
Package: avisota-core
Located at test/Avisota/Test/Queue/TestQueueExecutionDecider.php
Methods summary
public
# __construct( mixed $accept )
public mixed
# getHits( )

Returns

mixed
public boolean
# accept( Avisota\Message\MessageInterface $message )

Check if the message is accepted.

Check if the message is accepted.

Parameters

$message
Avisota\Message\MessageInterface
$message

Returns

boolean

Implementation of

Avisota\Queue\ExecutionDeciderInterface::accept()
Properties summary
protected integer $hits 0
#
protected mixed $accept
#
avisota/core API documentation generated by ApiGen 2.8.0