framework/Core/Config.php
protected function prepareForSave(array $data) : string
    {
        $str = var_export($data, true);
        $str = preg_replace(['~^(\s*)array\s*\($~im', '~^(\s*)\)(\,?)$~im', '~\s+$~im'], ['$1[', '$1]$2', ''], $str);
        return $str;
    }
protected function prepareForSave(array $data) : string
    {
        $str = var_export($data, true);
        $str = preg_replace(['~^(\s*)array\s*\($~im', '~^(\s*)\)(\,?)$~im', '~\s+$~im'], ['$1[', '$1]$2', ''], $str);
        return $str;
    }
protected function prepareForSave ( array $ data ) : string { $ str = var_export ( $ data , true ) ; $ str = preg_replace ( [ '~^(\s*)array\s*\($~im' , '~^(\s*)\)(\,?)$~im' , '~\s+$~im' ] , [ '$1[' , '$1]$2' , '' ] , $ str ) ; return $ str ; }
Prepares array representation for save in PHP file
@param array $data
@return string
Prepares array representation for save in PHP file