protected function scanTo($path, $scope)
    {
        if (!($sub = array_shift($path)) || !isset($scope[$sub])) {
            return null;
        }

        if (!$path) {
            return $scope[$sub];
        }

        return $this->scanTo($path, $scope[$sub]);
    }