You are here

public function StaticReflectionService::hasPublicMethod in Plug 7

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

Parameters

mixed $class:

mixed $method:

Return value

bool

Overrides ReflectionService::hasPublicMethod

File

lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/StaticReflectionService.php, line 79

Class

StaticReflectionService
PHP Runtime Reflection Service.

Namespace

Doctrine\Common\Persistence\Mapping

Code

public function hasPublicMethod($class, $method) {
  return true;
}