改名
This commit is contained in:
@@ -134,7 +134,7 @@ class Annotation extends BaseAnnotation
|
||||
*/
|
||||
public function isLegitimate($events)
|
||||
{
|
||||
throw new Exception('Undefined analytic function.');
|
||||
throw new Exception('Undefined analytic function isLegitimate.');
|
||||
}
|
||||
|
||||
|
||||
@@ -145,7 +145,7 @@ class Annotation extends BaseAnnotation
|
||||
*/
|
||||
public function getName($function, $events)
|
||||
{
|
||||
throw new Exception('Undefined analytic function.');
|
||||
throw new Exception('Undefined analytic function getName.');
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -55,4 +55,15 @@ class Http extends Annotation
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param $controller
|
||||
* @param $methodName
|
||||
* @param $events
|
||||
* @return array|void
|
||||
*/
|
||||
public function createHandler($controller, $methodName, $events)
|
||||
{
|
||||
return [$controller, $methodName];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -36,6 +36,10 @@ class Websocket extends Annotation
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param $events
|
||||
* @return bool|void
|
||||
*/
|
||||
public function isLegitimate($events)
|
||||
{
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user