src/Model/Aps.php
public function withBadge(int $badge): Aps
    {
        $cloned = clone $this;

        $cloned->badge = (int) $badge;

        return $cloned;
    }
public function withBadge(int $badge): Aps
    {
        $cloned = clone $this;

        $cloned->badge = (int) $badge;

        return $cloned;
    }
public function withBadge ( int $ badge ) : Aps { $ cloned = clone $ this ; $ cloned -> badge = ( int ) $ badge ; return $ cloned ; }
Set badge

@param int $badge

@return Aps
Set badge