protected function cloneVar($var): ?string
    {
        $cloneVar = self::getCloner()->cloneVar($this->decorateVar($var), Caster::EXCLUDE_VERBOSE);
        $dumper   = self::getDumper();

        $dumper->dump(
            $cloneVar,
            self::$htmlDumperOutput
        );

        $output = self::$htmlDumperOutput->getOutput();
        self::$htmlDumperOutput->reset();

        return $output;
    }
protected function cloneVar($var): ?string
    {
        $cloneVar = self::getCloner()->cloneVar($this->decorateVar($var), Caster::EXCLUDE_VERBOSE);
        $dumper   = self::getDumper();

        $dumper->dump(
            $cloneVar,
            self::$htmlDumperOutput
        );

        $output = self::$htmlDumperOutput->getOutput();
        self::$htmlDumperOutput->reset();

        return $output;
    }
protected function cloneVar ( $ var ) : ? string { $ cloneVar = self :: getCloner ( ) -> cloneVar ( $ this -> decorateVar ( $ var ) , Caster :: EXCLUDE_VERBOSE ) ; $ dumper = self :: getDumper ( ) ; $ dumper -> dump ( $ cloneVar , self :: $ htmlDumperOutput ) ; $ output = self :: $ htmlDumperOutput -> getOutput ( ) ; self :: $ htmlDumperOutput -> reset ( ) ; return $ output ; }
Converts the variable into a serializable Data instance.

@param mixed $var

@return null|string
Converts the variable into a serializable Data instance .