Instafilter\Image::_queue PHP Method

_queue() protected method

Queues a function to run at a later time.
protected _queue ( string $function )
$function string The name of the function to be ran, without the leading _
    protected function _queue($function)
    {
        $func = func_get_args();
        $tmpfunc = array();
        for ($i = 0; $i < count($func); $i++) {
            $tmpfunc[$i] = var_export($func[$i], true);
        }
        $this->debug("Queued <code>" . implode(", ", $tmpfunc) . "</code>");
        $this->queued_actions[] = $func;
    }