public static function fromMaybeNull($value) { return $value !== null ? Option::some($value) : Option::none(); }
public function testFromMaybeNull_WithNonNull_HasCountOfOne() { $this->assertCount(1, Option::fromMaybeNull("NonNull")); }