Queue\Beanstalk\Job::__wakeup

public __wakeup () Checks if the job has been modified after unserializing the object

Queue\Beanstalk\Job::stats

public stats () Gives statistical information about the specified job if it exists.

Registry

implements ArrayAccess, Countable, Iterator, Traversable Source on GitHub A registry is a container for storing objects and values in the application space. By storing the value in a registry, the same object is always available throughout your application. $registry = new \Phalcon\Registry(); // Set value $registry->something = 'something'; // or $registry['something'] = 'something'; // Get value $value = $registry->something; // or $valu

Registry::count

final public count () Checks how many elements are in the register

Registry::current

public current () Obtains the current value in the internal iterator

Reading Configurations

Phalcon\Config is a component used to convert configuration files of various formats (using adapters) into PHP objects for use in an application. Native Arrays The first example shows how to convert native arrays into Phalcon\Config objects. This option offers the best performance since no files are read during this request. use Phalcon\Config; $settings = [ "database" => [ "adapter" => "Mysql", "host" => "localhost", "username" => "scott",

Queue\Beanstalk\Job

Source on GitHub Represents a job in a beanstalk queue Methods public getId () public getBody () public __construct (Phalcon\Queue\Beanstalk $queue, mixed $id, mixed $body) public delete () Removes a job from the server entirely public release ([mixed $priority], [mixed $delay]) The release command puts a reserved job back into the ready queue (and marks its state as “ready”) to be run by any client. It is normally used when the job fails because of a transitory error. public bury ([mixed $prio

Queue\Beanstalk\Job::getId

public getId ()

Queue\Beanstalk\Job::release

public release ([mixed $priority], [mixed $delay]) The release command puts a reserved job back into the ready queue (and marks its state as “ready”) to be run by any client. It is normally used when the job fails because of a transitory error.

Queue\Beanstalk\Job::delete

public delete () Removes a job from the server entirely