public function dump(array $input, string $outerIndent = ''): string
    {
        $this->indentLength = StringHelper::lengthUtf8($this->indent);

        return $this->dumpArray(
            $input,
            $outerIndent,
            StringHelper::lengthUtf8($outerIndent)
        );
    }
public function dump(array $input, string $outerIndent = ''): string
    {
        $this->indentLength = StringHelper::lengthUtf8($this->indent);

        return $this->dumpArray(
            $input,
            $outerIndent,
            StringHelper::lengthUtf8($outerIndent)
        );
    }
public function dump ( array $ input , string $ outerIndent = '' ) : string { $ this -> indentLength = StringHelper :: lengthUtf8 ( $ this -> indent ) ; return $ this -> dumpArray ( $ input , $ outerIndent , StringHelper :: lengthUtf8 ( $ outerIndent ) ) ; }
Dumps an array to PHP code
@param array $input Input array
@param string $outerIndent Optional outer indent string for wrapped lines
@return string PHP code of array. Doing `eval()` of this code will return
an array identical `===` to input array.
@throws \InvalidArgumentException
Dumps an array to PHP code