protected function getArrayAsText($array, $intendBy=1)
    {
        $intention = '';
        for ($i=0; $i<$intendBy; $i++) {
            $intention .= '    ';
        }

        $text = var_export($array, true);

        $text = preg_replace('/[ ]{2}/', '    ', $text);
        $text = preg_replace("/\=\>[ \n    ]+array[ ]+\(/", '=> array(', $text);
        return $text = preg_replace("/\n/", "\n".$intention, $text);
    }