code: public function from(Contract $contract, string $string, callable $callback = null): string
      {
          return $this->callback(
              trim($contract->recipe($string, 'space')),
              $callback
          );
      }
docs: Convert to space format.
  Call optional function on callback.
  
  @param  \SSD\StringConverter\Types\Contract $contract
  @param  string $string
  @param  callable|null $callback
  @return string