function ReflectionService::hasPublicMethod

Check if the class have a public method with the given name.

Parameters

mixed $class:

mixed $method:

Return value

bool

2 methods override ReflectionService::hasPublicMethod()
RuntimeReflectionService::hasPublicMethod in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php
Check if the class have a public method with the given name.
StaticReflectionService::hasPublicMethod in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/StaticReflectionService.php
Check if the class have a public method with the given name.

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/ReflectionService.php, line 78

Class

ReflectionService
Very simple reflection service abstraction.

Namespace

Doctrine\Common\Persistence\Mapping

Code

function hasPublicMethod($class, $method);