src/Brosland/UI/SecurityPresenter.php
protected function hasMethodAnnotation($method, $annotation)
	{
		if (!$this->getReflection()->hasMethod($method))
		{
			return FALSE;
		}

		$rm = Method::from($this->getReflection()->getName(), $method);
		return $rm->hasAnnotation($annotation);
	}
protected function hasMethodAnnotation($method, $annotation)
	{
		if (!$this->getReflection()->hasMethod($method))
		{
			return FALSE;
		}

		$rm = Method::from($this->getReflection()->getName(), $method);
		return $rm->hasAnnotation($annotation);
	}
protected function hasMethodAnnotation ( $ method , $ annotation ) { if ( ! $ this -> getReflection ( ) -> hasMethod ( $ method ) ) { return FALSE ; } $ rm = Method :: from ( $ this -> getReflection ( ) -> getName ( ) , $ method ) ; return $ rm -> hasAnnotation ( $ annotation ) ; }
Checks if given method has a given annotation

@param string $method
@param string $annotation
@return bool
Checks if given method has a given annotation