19declare(strict_types=1);
37 $from = $this->
refinery->in()->series([
38 $this->
custom(fn(
string $s) =>
'@' . ($s ?:
'0')),
42 $to = $this->
custom(fn(DateTimeImmutable $x) => (
string) $x->getTimeStamp());
52 $this->custom(fn(
string $s):
bool => !($s ===
'' || $this->
error(
'Value could not be transformed to bool.')))
55 $to = $this->
refinery->kindlyTo()->string();
68 $this->
refinery->in()->series([$this->refinery->null(), $this->refinery->always(
'')]),
79 $this->refinery->identity()
85 return $this->
refinery->custom()->transformation($map);