protected operandIsSimpleType ( string $type ) : boolean | ||
$type | string | |
return | boolean | TRUE if operand is a simple type (object, array, string, ...); i.e. everything which is NOT a class name |
protected function operandIsSimpleType($type)
{
return $type === 'object' || $type === 'array' || TypeHandling::isLiteral($type);
}