File: /home/xedaptot/iphim.naniguide.com/vendor/adbario/php-dot-notation/src/helpers.php
<?php
/**
* Dot - PHP dot notation access to arrays
*
* @author Riku Särkinen <[email protected]>
* @link https://github.com/adbario/php-dot-notation
* @license https://github.com/adbario/php-dot-notation/blob/3.x/LICENSE.md (MIT License)
*/
use Adbar\Dot;
if (! function_exists('dot')) {
/**
* Create a new Dot object with the given items
*
* @param mixed $items
* @param bool $parse
* @param non-empty-string $delimiter
* @return \Adbar\Dot<array-key, mixed>
*/
function dot($items, $parse = false, $delimiter = ".")
{
return new Dot($items, $parse, $delimiter);
}
}