src/CondenseNumberInterface.php
<?php
namespace Squirrel\Strings;
/**
* Interface for condensing a number into a string to shorten it
*/
interface CondenseNumberInterface
{
/**
* Convert a number to a string
*/
public function toString(int $number): string;
/**
* Convert a string to a number
*/
public function toNumber(string $string): int;
}