private static function arrayToFileWrite($array, $numParent) {
        $tabs = "";
        for ($index = 0; $index <= $numParent; $index++) {
            $tabs .= chr(9);
        }
        $strArr = "";
        foreach ($array as $key => $value) {
            if (is_array($value)) {
                $strValue = \Sirgrimorum\CrudGenerator\CrudGenerator::arrayToFileWrite($value, $numParent + 1);
                $strArr .= $tabs . '"' . $key . '" => [' . chr(13) . chr(10) . $strValue . $tabs . '], ' . chr(13) . chr(10);
            } elseif (is_bool($value)) {
                if ($value) {
                    $strValue = "true";
                } else {
                    $strValue = "false";
                }
                $strArr .= $tabs . '"' . $key . '" => ' . $strValue . ', ' . chr(13) . chr(10);
            } elseif (is_callable($value) && !is_string($value) && $value !== "file" && $value !== "url" && $value !== "config") {
                $closure = new SuperClosure($value);
                $strArr .= $tabs . '"' . $key . '" => ' . print_r($closure->getCode(), true) . ', ' . chr(13) . chr(10);
            } elseif (is_object($value)) {
                $strArr .= $tabs . '"' . $key . '" => "' . serialize($value) . '", ' . chr(13) . chr(10);
            } elseif (is_string($value)) {
                $strArr .= $tabs . '"' . $key . '" => "' . $value . '", ' . chr(13) . chr(10);
            } elseif (is_int($value)) {
                $strArr .= $tabs . '"' . $key . '" => ' . $value . ', ' . chr(13) . chr(10);
            }
        }
        return $strArr;
    }