Option::map()

Method: Applies the callable to the value of the option if it is non-empty, and returns the return value of the callable wrapped in Some().

Source: vendor/phpoption/phpoption/src/PhpOption/Option.php:254

Used by 0 functions | Uses 0 functions

Option::flatMap()

Method: Applies the callable to the value of the option if it is non-empty, and returns the return value of the callable directly.

Source: vendor/phpoption/phpoption/src/PhpOption/Option.php:267

Used by 0 functions | Uses 0 functions

Option::filter()

Method: If the option is empty, it is returned immediately without applying the callable.

Source: vendor/phpoption/phpoption/src/PhpOption/Option.php:279

Used by 0 functions | Uses 0 functions

Option::filterNot()

Method: If the option is empty, it is returned immediately without applying the callable.

Source: vendor/phpoption/phpoption/src/PhpOption/Option.php:291

Used by 0 functions | Uses 0 functions