ReflectionClass::hasProperty

( excerpt from http://php

Description

public function hasProperty(
  $name,
): bool

net/manual/en/reflectionclass.hasproperty.php )

Checks whether the specified property is defined.

Parameters

  • $name

Return Values

  • bool - TRUE if it has the property, otherwise FALSE