private function overlay(array $route): array
    {
        $target = $this->defaults;

        foreach ($route['route']['target'] as $key => $value) {
            $target[$key] = $value;
        }

        return $target;
    }
private function overlay(array $route): array
    {
        $target = $this->defaults;

        foreach ($route['route']['target'] as $key => $value) {
            $target[$key] = $value;
        }

        return $target;
    }
private function overlay ( array $ route ) : array { $ target = $ this -> defaults ; foreach ( $ route [ 'route' ] [ 'target' ] as $ key => $ value ) { $ target [ $ key ] = $ value ; } return $ target ; }
Apply defaults to actual route

@param array $route
@return array
Apply defaults to actual route