改名
This commit is contained in:
@@ -105,10 +105,10 @@ class Pipeline
|
|||||||
/**
|
/**
|
||||||
* @param $destination
|
* @param $destination
|
||||||
* @param $parameters
|
* @param $parameters
|
||||||
* @return Closure
|
* @return Closure|array
|
||||||
* @throws ReflectionException
|
* @throws ReflectionException
|
||||||
*/
|
*/
|
||||||
private function aspect_caller($destination, $parameters): Closure
|
private function aspect_caller($destination, $parameters): Closure|array
|
||||||
{
|
{
|
||||||
[$controller, $action] = $destination;
|
[$controller, $action] = $destination;
|
||||||
/** @var Aspect $aop */
|
/** @var Aspect $aop */
|
||||||
@@ -121,8 +121,6 @@ class Pipeline
|
|||||||
$aop->after($data = $aop->invoke($destination, $parameters));
|
$aop->after($data = $aop->invoke($destination, $parameters));
|
||||||
return $data;
|
return $data;
|
||||||
};
|
};
|
||||||
|
|
||||||
var_dump($destination);
|
|
||||||
}
|
}
|
||||||
return $destination;
|
return $destination;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user