Option::foldLeft()
Method: Binary operator for the initial value and the option’s value.
Source: vendor/phpoption/phpoption/src/PhpOption/Option.php:349
Method: Binary operator for the initial value and the option’s value.
Source: vendor/phpoption/phpoption/src/PhpOption/Option.php:349
Method: foldLeft() but with reversed arguments for the callable.
Source: vendor/phpoption/phpoption/src/PhpOption/Option.php:359
Method: Returns true if no value is available, false otherwise.
Source: vendor/phpoption/phpoption/src/PhpOption/Option.php:176
Method: Returns true if a value is available, false otherwise.
Source: vendor/phpoption/phpoption/src/PhpOption/Option.php:183
Method: Returns this option if non-empty, or the passed option otherwise.
Source: vendor/phpoption/phpoption/src/PhpOption/Option.php:201
Method: This is similar to map() below except that the return value has no meaning; the passed callable is simply executed if the option is non-empty, and ignored if the option is empty.
Source: vendor/phpoption/phpoption/src/PhpOption/Option.php:225
Method: This is similar to map() except that the return value of the callable has no meaning.
Source: vendor/phpoption/phpoption/src/PhpOption/Option.php:238
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
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
Method: If the option is empty, it is returned immediately without applying the callable.
Source: vendor/phpoption/phpoption/src/PhpOption/Option.php:279