ex
Fork of mbed-os-example-mbed5-blinky by
Diff: dumi_doc-master/schema/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/TypeCheck/StrictTypeCheck.php
- Revision:
- 49:b9eb462f36a9
- Parent:
- 48:c7ee67edcf1d
- Child:
- 50:9ecaa144d1f3
--- a/dumi_doc-master/schema/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/TypeCheck/StrictTypeCheck.php Tue Jul 18 16:56:22 2017 +0800
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-<?php
-
-namespace JsonSchema\Constraints\TypeCheck;
-
-class StrictTypeCheck implements TypeCheckInterface
-{
- public static function isObject($value)
- {
- return is_object($value);
- }
-
- public static function isArray($value)
- {
- return is_array($value);
- }
-
- public static function propertyGet($value, $property)
- {
- return $value->{$property};
- }
-
- public static function propertyExists($value, $property)
- {
- return property_exists($value, $property);
- }
-
- public static function propertyCount($value)
- {
- return count(get_object_vars($value));
- }
-}
