Some::__construct( $value )
Source
File: vendor/phpoption/phpoption/src/PhpOption/Some.php
public function __construct($value)
{
$this->value = $value;
}
Related
Used By
Used By | Description |
---|---|
vendor/phpoption/phpoption/tests/PhpOption/Tests/OptionTest.php: OptionTest::testFromArraysValue() | |
vendor/phpoption/phpoption/tests/PhpOption/Tests/OptionTest.php: OptionTest::testOrElse() | |
vendor/phpoption/phpoption/tests/PhpOption/Tests/OptionTest.php: OptionTest::testOrElseWithNoneAsFirst() | |
vendor/phpoption/phpoption/tests/PhpOption/Tests/OptionTest.php: OptionTest::testOrElseWithLazyOptions() | |
vendor/phpoption/phpoption/tests/PhpOption/Tests/OptionTest.php: OptionTest::testOrElseWithMultipleAlternatives() | |
vendor/phpoption/phpoption/tests/PhpOption/Tests/SomeTest.php: SomeTest::testFoldLeftRight() | |
vendor/phpoption/phpoption/tests/PhpOption/Tests/SomeTest.php: SomeTest::testForeach() | |
vendor/phpoption/phpoption/tests/PhpOption/Tests/SomeTest.php: Repository::getLastRegisteredUsername() | |
vendor/phpoption/phpoption/tests/PhpOption/Tests/SomeTest.php: Repository::getUser() | |
vendor/phpoption/phpoption/tests/PhpOption/Tests/PerformanceTest.php: PhpOptionRepo::findMaybe() | |
vendor/phpoption/phpoption/src/PhpOption/Some.php: Some::map() | |
vendor/phpoption/phpoption/tests/PhpOption/Tests/SomeTest.php: SomeTest::testGet() | |
vendor/phpoption/phpoption/tests/PhpOption/Tests/SomeTest.php: SomeTest::testifDefined() | |
vendor/phpoption/phpoption/tests/PhpOption/Tests/SomeTest.php: SomeTest::testForAll() | |
vendor/phpoption/phpoption/tests/PhpOption/Tests/SomeTest.php: SomeTest::testMap() | |
vendor/phpoption/phpoption/tests/PhpOption/Tests/SomeTest.php: SomeTest::testFilter() | |
vendor/phpoption/phpoption/tests/PhpOption/Tests/SomeTest.php: SomeTest::testFilterNot() | |
vendor/phpoption/phpoption/tests/PhpOption/Tests/SomeTest.php: SomeTest::testSelect() | |
vendor/phpoption/phpoption/tests/PhpOption/Tests/SomeTest.php: SomeTest::testReject() | |
vendor/phpoption/phpoption/src/PhpOption/Some.php: Some::create() | |
vendor/phpoption/phpoption/src/PhpOption/Option.php: Option::fromValue() |
Creates an option given a return value. |
vendor/phpoption/phpoption/src/PhpOption/Option.php: Option::fromArraysValue() |
Creates an option from an array’s value. |
vendor/phpoption/phpoption/src/PhpOption/Option.php: Option::fromReturn() |
Creates a lazy-option with the given callback. |