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