Esempio n. 1
0
/**
 * Is the value a scalar (boolean, integer, double, or string)?
 */
function scalarValue()
{
    require_once 'Hamcrest/Type/IsScalar.php';
    return Hamcrest_Type_IsScalar::scalarValue();
}
Esempio n. 2
0
 protected function createMatcher()
 {
     return Hamcrest_Type_IsScalar::scalarValue();
 }