ReflectionClass::hasProperty

( excerpt from http://php

public function hasProperty(
  string $name,
): bool;

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

Checks whether the specified property is defined.

Parameters

  • string $name

Return Values

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