You are here

public function ReflectionService::hasPublicMethod in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/ReflectionService.php \Doctrine\Common\Persistence\Mapping\ReflectionService::hasPublicMethod()

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

File

vendor/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);