public function subtract($interval) : self
    {
        $instance = clone $this;
        
        $instance->date->sub(self::resolveDateInterval($interval));
        
        return $instance;
    }
public function subtract($interval) : self
    {
        $instance = clone $this;
        
        $instance->date->sub(self::resolveDateInterval($interval));
        
        return $instance;
    }
public function subtract ( $ interval ) : self { $ instance = clone $ this ; $ instance -> date -> sub ( self :: resolveDateInterval ( $ interval ) ) ; return $ instance ; }
Creates a new instance with the interval subtracted from it.

@param DateInterval|string $interval A DateInterval instance or a DateInterval spec as a string.

@return self
Creates a new instance with the interval subtracted from it .