public static function create(
        DictionaryInterface $sourceDictionary,
        WritableDictionaryInterface $targetDictionary,
        LoggerInterface $logger = null
    ): CopyDictionaryJob {
        $instance = new static($sourceDictionary, $targetDictionary);
        if ($logger) {
            $instance->setLogger($logger);
        }

        return $instance;
    }
public static function create(
        DictionaryInterface $sourceDictionary,
        WritableDictionaryInterface $targetDictionary,
        LoggerInterface $logger = null
    ): CopyDictionaryJob {
        $instance = new static($sourceDictionary, $targetDictionary);
        if ($logger) {
            $instance->setLogger($logger);
        }

        return $instance;
    }
public static function create ( DictionaryInterface $ sourceDictionary , WritableDictionaryInterface $ targetDictionary , LoggerInterface $ logger = null ) : CopyDictionaryJob { $ instance = new static ( $ sourceDictionary , $ targetDictionary ) ; if ( $ logger ) { $ instance -> setLogger ( $ logger ) ; } return $ instance ; }
Static helper for fluent coding.

@param DictionaryInterface         $sourceDictionary The source dictionary.
@param WritableDictionaryInterface $targetDictionary The target dictionary.
@param LoggerInterface|null        $logger           The logger to use.

@return CopyDictionaryJob
Static helper for fluent coding .