Overview

Namespaces

  • Copro
    • Adapters
  • Donut
    • Adapters
    • AtomFeed
    • Facebook
    • Instagram
    • PostFeed
    • Twitter

Classes

  • DefaultCurrentTimeFactory
  • Helpers
  • Manager
  • Message
  • Period
  • Processor
  • ProducerInfo
  • Queue
  • Time

Interfaces

  • IAdapter
  • ICurrentTimeFactory
  • IProducer
  • IWorker

Exceptions

  • Exception
  • InvalidArgumentException
  • InvalidStateException
  • Overview
  • Namespace
  • Class

Class Message

Namespace: Donut
Located at Message.php
Methods summary
public
# __construct( Ramsey\Uuid\UuidInterface $id, $queue, array $data, Donut\Time $date, Donut\Time $created, $status = self::STATUS_NEW, Donut\Time $processed = NULL )
public Ramsey\Uuid\UuidInterface
# getId( )

Returns

Ramsey\Uuid\UuidInterface
public string
# getQueue( )

Returns

string
public array
# getData( )

Returns

array
public Donut\Time
# getDate( )

Returns

Donut\Time
public Donut\Time
# getCreated( )

Returns

Donut\Time
public integer
# getStatus( )

Returns

integer
public Donut\Time|null
# getProcessed( )

Returns

Donut\Time|null
Constants summary
integer STATUS_NEW
# 0
integer STATUS_DONE
# 1
integer STATUS_FAILED
# 2
donut-org/donut v0.8.0 API documentation API documentation generated by ApiGen