public currentRouteAction ( ) : string | null | ||
리턴 | string | null |
public function currentRouteAction()
{
if (!($route = $this->current())) {
return;
}
$action = $route->getAction();
return is_string($action['uses']) ? $action['uses'] : null;
}