@param string $path
@param null   $default

@return array|null
966121
public function get($path, $default = NULL)
    {
        $item = ArrayUtils::getValueOrNull($path, $this->container);

        return $item ? $item : $default;
    }
752422
public function file($key = null, $default = null)
	{
		$array = $this->files->all();

		if (is_null($key))
		{
			return $array;
		}

		if (isset($array[$key]))
		{
			return $array[$key];
		}

		return $default;
	}
988778
public static function getByPath($subject, array $path, $default = null)
    {
        $ptr =& $subject;
        foreach ($path as $key) {
            if (is_object($ptr) && isset($ptr->$key)) {
                $ptr =& $ptr->$key;
            } elseif (is_array($ptr) && isset($ptr[$key])) {
                $ptr =& $ptr[$key];
            } else {
                return $default;
            }
        }
        return $ptr;
    }
104460
public function Data($Path, $Default = '' ) {
      $Result = GetValueR($Path, $this->Data, $Default);
      return $Result;
   }
105808
public function get($key, $default = null, $dot_syntax = true)
    {
        if ($dot_syntax === true) {
            $paths = explode('.', $key);
            $node =& $this->_data;
            
            foreach ($paths as $path) {
                if (!is_array($node) || !isset($node[$path])) {
                    // error occurred
                    return $default;
                }
                $node =& $node[$path];
            }
            
            return $node;
            
        } else {
            
            return isset($this->_data[$key]) ? $this->_data[$key] : $default;
            
        }
    }
1317421
public function defaults($key = null)
    {
        $data = [
            'paths' => [],
            'cache' => true,
        ];

        if ($key) {
            return isset($data[$key]) ? $data[$key] : null;
        }

        return $data;
    }
288444
public function param($key = NULL, $default = NULL)
    {
        if ( !$key ) {
            return $this->attributes->all();
        }

        $path = '';
        $key  = explode('.', $key);
        foreach ($key as $item) {
            if ( !$path ) {
                $path .= $item;
                continue;
            }
            $path .= '[' . $item . ']';
        }

        return $this->attributes->get($path, $default, TRUE);
    }
513101
public static function getValueByPath($path, array $array, $default = null, $operator = '/')
    {
        //handle indexes containing a /
        if (isset($array[$path])) {
            return $array[$path];
        }
        //check if $path contains a /
        $pos = strpos($path, $operator);
        //exit condition
        if ($pos === false) {
            return array_key_exists($path, $array) ? $array[$path] : $default;
        }
        $current = substr($path, 0, $pos);

        if (!array_key_exists($current, $array)) {
            return null;
        }

        //recursion
        return self::getValueByPath(substr($path, $pos+1), $array[$current], $default, $operator);
    }
938283
public function query($key = NULL, $default = NULL)
    {
        if ( !$key ) {
            return $this->query->all();
        }

        $path = '';
        $key  = explode('.', $key);
        foreach ($key as $item) {
            if ( !$path ) {
                $path .= $item;
                continue;
            }
            $path .= '[' . $item . ']';
        }

        return $this->query->get($path, $default, TRUE);
    }
278738
public function getField($path, $default = null) {
        if (is_string($path)) {
            if (strpos($path, '.') !== false && strpos($path, '/') === false) {
                trigger_error('Field selectors must be separated by "/" instead of "."', E_USER_DEPRECATED);
                $path = explode('.', $path);
            } else {
                $path = explode('/', $path);
            }
        }

        $value = $this->schema;
        foreach ($path as $i => $subKey) {
            if (is_array($value) && isset($value[$subKey])) {
                $value = $value[$subKey];
            } elseif ($value instanceof Schema) {
                return $value->getField(array_slice($path, $i), $default);
            } else {
                return $default;
            }
        }
        return $value;
    }
1035496
public function get($key = null, $default = null)
    {
        if (!empty($key)) {
            return ArrayFunc::get($this->config, $key, $default);
        }

        return $this->config;
    }
371109
public static function get($arr, $str_path, $default=null) {
		$path = explode('.', $str_path);
		return static::array_get($arr, $path, $default);
	}
679595
public function getStackValueWithDot($path, $default = null)
    {
        if (($current = $this->getAccessorStack()) && is_array($current)) {
            $p = strtok((string) $path, '.');

            while ($p !== false) {
                if (! isset($current[$p])) {
                    return $default;
                }
                $current = $current[$p];
                $p       = strtok('.');
            }
        }

        return $current;
    }
1212189
public function getRequireData( string $path, $default = [] )
	{
		if( $this->isFile( $path ) )
		{
			return $this->callback(function($file) use($default) {
				/** @noinspection PhpIncludeInspection */
				require $file;
				return $data ?? $default ?? null;
			}, $path);
		}
		throw new NotFoundFileException($path, "File does not exist at path '{$path}'");
	}
937668
public function get($key, $default = null)
    {
        $key = strtolower($key);

        if (!array_key_exists($key, $this->data)) {
            if (null === $default) {
                return null;
            }

            return $default;
        }

        return $this->data[$key];
    }
1338299
public static function first($array, $path, $default = false){
        $data = self::get($array, $path, array());
        if(count($data) > 0)
            return reset($data);

        return $default;
    }
114962
public function get($key, $default = NULL) {

		return array_key_exists($key, $this->data) ? $this->data[$key] : $default;

	}