public static function get($subjectArrayOrObject, $dotNotationKeys, $defaultValue = null)
    {
        if (is_null($dotNotationKeys)) {
            return $subjectArrayOrObject;
        }

        return self::walkArrayOrObject($subjectArrayOrObject, $dotNotationKeys, $defaultValue);
    }
public static function get($subjectArrayOrObject, $dotNotationKeys, $defaultValue = null)
    {
        if (is_null($dotNotationKeys)) {
            return $subjectArrayOrObject;
        }

        return self::walkArrayOrObject($subjectArrayOrObject, $dotNotationKeys, $defaultValue);
    }
public static function get ( $ subjectArrayOrObject , $ dotNotationKeys , $ defaultValue = null ) { if ( is_null ( $ dotNotationKeys ) ) { return $ subjectArrayOrObject ; } return self :: walkArrayOrObject ( $ subjectArrayOrObject , $ dotNotationKeys , $ defaultValue ) ; }
Get an data from an array or property from an object
using "dot" notation.

@param mixed $subjectArrayOrObject Array or Object to work on.
@param string|array $dotNotationKeys Dot notation Key(s) to fetch
@param mixed $defaultValue (optional) Default value

@return mixed
Get an data from an array or property from an object using dot notation .