schmunk42\giiant\helpers\GiiantFaker::boolean PHP Méthode

boolean() public static méthode

public static boolean ( ) : mixed
Résultat mixed
    public static function boolean()
    {
        return self::value(self::TYPE_BOOLEAN);
    }

Usage Example

Exemple #1
0
 public function testBooleanMethod()
 {
     $value = GiiantFaker::boolean();
     $this->specify('returned value is boolean', function () use($value) {
         expect('value is boolean', is_bool($value))->true();
     });
 }