procrastinator
Public Member Functions | Public Attributes | List of all members
Procrastinator\Result Class Reference
Inheritance diagram for Procrastinator\Result:

Public Member Functions

 setStatus ($status)
 
 setData (string $data)
 
 setError (string $error)
 
 getStatus ()
 
 getData ()
 
 getError ()
 
 jsonSerialize ()
 

Public Attributes

const STOPPED = 'stopped'
 
const IN_PROGRESS ='in_progress'
 
const ERROR = 'error'
 
const DONE = 'done'
 

Member Function Documentation

◆ getData()

Procrastinator\Result::getData ( )

◆ getError()

Procrastinator\Result::getError ( )

◆ getStatus()

Procrastinator\Result::getStatus ( )

◆ jsonSerialize()

Procrastinator\Result::jsonSerialize ( )

◆ setData()

Procrastinator\Result::setData ( string  $data)

◆ setError()

Procrastinator\Result::setError ( string  $error)

◆ setStatus()

Procrastinator\Result::setStatus (   $status)

Member Data Documentation

◆ DONE

const Procrastinator\Result::DONE = 'done'

◆ ERROR

const Procrastinator\Result::ERROR = 'error'

◆ IN_PROGRESS

const Procrastinator\Result::IN_PROGRESS ='in_progress'

◆ STOPPED

const Procrastinator\Result::STOPPED = 'stopped'

The documentation for this class was generated from the following file: