public static function unserializeAdvice(array $adviceData)
{
$aspectName = $adviceData['aspect'];
$methodName = $adviceData['method'];
if (!isset(static::$localAdvicesCache["{$aspectName}->{$methodName}"])) {
$refMethod = new ReflectionMethod($aspectName, $methodName);
$aspect = AspectKernel::getInstance()->getContainer()->getAspect($aspectName);
$advice = $refMethod->getClosure($aspect);
static::$localAdvicesCache["{$aspectName}->{$methodName}"] = $advice;
}
return static::$localAdvicesCache["{$aspectName}->{$methodName}"];
}