Returns whether this member is private
object|string $objectOrClassName The object or the class name:
Boolean
public function isPrivate($objectOrClassName) { return $this ->getReflectionMember($objectOrClassName) ->isPrivate(); }