protected function generateConfigJobArgs()
    {
        $configInstance = $this->getConfigInstance();
        $args = [];
        if ($configInstance instanceof ITripodConfigSerializer) {
            $config = $configInstance->serialize();
        } else {
            $config = \Tripod\Config::getConfig();
        }
        if (isset($config['class'])) {
            $args[self::TRIPOD_CONFIG_GENERATOR] = $config;
        } else {
            $args[self::TRIPOD_CONFIG_KEY] = $config;
        }
        return $args;
    }
protected function generateConfigJobArgs()
    {
        $configInstance = $this->getConfigInstance();
        $args = [];
        if ($configInstance instanceof ITripodConfigSerializer) {
            $config = $configInstance->serialize();
        } else {
            $config = \Tripod\Config::getConfig();
        }
        if (isset($config['class'])) {
            $args[self::TRIPOD_CONFIG_GENERATOR] = $config;
        } else {
            $args[self::TRIPOD_CONFIG_KEY] = $config;
        }
        return $args;
    }
protected function generateConfigJobArgs ( ) { $ configInstance = $ this -> getConfigInstance ( ) ; $ args = [ ] ; if ( $ configInstance instanceof ITripodConfigSerializer ) { $ config = $ configInstance -> serialize ( ) ; } else { $ config = \ Tripod \ Config :: getConfig ( ) ; } if ( isset ( $ config [ 'class' ] ) ) { $ args [ self :: TRIPOD_CONFIG_GENERATOR ] = $ config ; } else { $ args [ self :: TRIPOD_CONFIG_KEY ] = $ config ; } return $ args ; }
Convenience method to pass config to job data

@return array
Convenience method to pass config to job data