This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (!function_exists('dump_walk')) { | |
/** | |
* This function is like print_r($node, true) but cleaner | |
* @param $node | |
* @param string $indent_string | |
* @param int $depth | |
* @param null $parentType | |
* @return string | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function clearCacheFiles($cacheLocation) { | |
if (is_string($cacheLocation)) { | |
foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($cacheLocation), \RecursiveIteratorIterator::LEAVES_ONLY) as $file) { | |
if ($file->isFile()) { | |
@unlink($file->getPathname()); | |
} | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 cups cooked quinoa, cooked in vegetable or chicken broth, at room temperature or chilled | |
1 (15-ounce) can black beans, drained and rinsed | |
2 medium mangos, peeled and diced | |
2 red bell pepper, diced | |
4 green onions, white and green parts thinly sliced | |
1/2 cup chopped fresh cilantro | |
4 tablespoon red wine vinegar | |
3 tablespoons extra virgin olive oil | |
1-2 tablespoons fresh lime juice | |
1/2 teaspoon kosher salt |
NewerOlder