/** * @param SyncCommandBase $consoleCommand * @return Closure */ public static function getProcessor($consoleCommand = null) { if (null === static::$processor) { static::$processor = self::generateProcessor($consoleCommand); } return static::$processor; }
public static function setProcessor($name) { static::$processor = $name; }