Page MenuHomeWickedGov Phorge

IsBoolean.php
No OneTemporary

Size
493 B
Referenced Files
None
Subscribers
None

IsBoolean.php

<?php
namespace Hamcrest\Type;
/*
Copyright (c) 2010 hamcrest.org
*/
use Hamcrest\Core\IsTypeOf;
/**
* Tests whether the value is a boolean.
*/
class IsBoolean extends IsTypeOf
{
/**
* Creates a new instance of IsBoolean
*/
public function __construct()
{
parent::__construct('boolean');
}
/**
* Is the value a boolean?
*
* @factory boolValue
*/
public static function booleanValue()
{
return new self;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, May 16, 20:09 (2 h, 51 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
0a/c9/4be879932be8a56b25d97a59699f
Default Alt Text
IsBoolean.php (493 B)

Event Timeline