PhpCli

implements Omeka\Job\DispatchStrategy\StrategyInterface
Methods Summary
public
# __construct( Omeka\Stdlib\Cli $cli , string $basePath , string|null $phpPath = NULL )
Create the PHP-CLI-based job dispatch strategy.
public
# send( Omeka\Entity\Job $job )
Perform the job in the background. Jobs may need access to variables that are impossible to derive from outside a web context. Here we pass the variables via shell arguments. The perform-job script then sets them to the PHP-CLI context.

todo


see

Zend\View\Helper\BasePath

see

Zend\View\Helper\ServerUrl

Implementation of

Properties Summary
protected Omeka\Stdlib\Cli $cli
# NULL
protected string $basePath
# NULL
protected string|null $phpPath
# NULL