protected static function typeToString($value) { return is_object($value) ? get_class($value) : gettype($value); }