Some::create()
Method:
Source: vendor/phpoption/phpoption/src/PhpOption/Some.php:32
Method:
Source: vendor/phpoption/phpoption/src/PhpOption/Some.php:32
Method: Returns true if no value is available, false otherwise.
Source: vendor/phpoption/phpoption/src/PhpOption/Option.php:176
Method:
Source: vendor/phpoption/phpoption/src/PhpOption/Some.php:37
Method: Returns true if a value is available, false otherwise.
Source: vendor/phpoption/phpoption/src/PhpOption/Option.php:183
Method:
Source: vendor/phpoption/phpoption/src/PhpOption/Some.php:42
Method: Returns this option if non-empty, or the passed option otherwise.
Source: vendor/phpoption/phpoption/src/PhpOption/Option.php:201
Method:
Source: vendor/phpoption/phpoption/src/PhpOption/Some.php:47
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:
Source: vendor/phpoption/phpoption/src/PhpOption/Some.php:52
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