Pimcore\Model\Schedule\Maintenance\Job::execute PHP Method

execute() public method

execute job
public execute ( ) : mixed
return mixed
    public function execute()
    {
        if (method_exists($this->getObject(), $this->getMethod())) {
            $arguments = $this->getArguments();
            if (!is_array($arguments)) {
                $arguments = [];
            }
            return call_user_func_array([$this->getObject(), $this->getMethod()], $arguments);
        }
    }