protected property PHPUnit_Framework_Constraint_IsType::$types

Type: array

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/IsType.php, line 79

Class

PHPUnit_Framework_Constraint_IsType
Constraint that asserts that the value it is evaluated for is of a specified type.

Code

protected $types = array(
  'array' => TRUE,
  'boolean' => TRUE,
  'bool' => TRUE,
  'float' => TRUE,
  'integer' => TRUE,
  'int' => TRUE,
  'null' => TRUE,
  'numeric' => TRUE,
  'object' => TRUE,
  'resource' => TRUE,
  'string' => TRUE,
  'scalar' => TRUE,
  'callable' => TRUE,
);