This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace Marcosh\PhpValidationDSL; | |
final class Boolean | |
{ | |
/** @var Bool */ | |
private $isTrue; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
/** | |
* @template F | |
* @template A | |
* @extends Functor<F,A> | |
*/ | |
interface Apply extends Functor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
final class Country | |
{ | |
private string $countryCode; | |
private function __construct(string $countryCode) | |
{ | |
$this->countryCode = $countryCode; | |
} |
OlderNewer