src/BasicTranslator.php
private function get($arr, $path)
    {
        foreach (explode('.', $path) as $prop) {
            $arr = $arr[$prop];
        }
        return $arr;
    }
private function get($arr, $path)
    {
        foreach (explode('.', $path) as $prop) {
            $arr = $arr[$prop];
        }
        return $arr;
    }
private function get ( $ arr , $ path ) { foreach ( explode ( '.' , $ path ) as $ prop ) { $ arr = $ arr [ $ prop ] ; } return $ arr ; }
Get a value from a dotted property path.

@param array  $arr  Array.
@param string  $path  Path, properties separated by '.'s.
@return mixed (But probably a string because it's for translations.)
Get a value from a dotted property path .