You are here

public function ReflectionService::hasPublicMethod in Plug 7

Checks 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 lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php
Checks if the class have a public method with the given name.
StaticReflectionService::hasPublicMethod in lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/StaticReflectionService.php
Checks if the class have a public method with the given name.

File

lib/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/ReflectionService.php, line 86

Class

ReflectionService
Very simple reflection service abstraction.

Namespace

Doctrine\Common\Persistence\Mapping

Code

public function hasPublicMethod($class, $method);