protected getRequestType ( string $category ) : string | ||
$category | string | |
Результат | string | request type such as 'normal', 'batch' |
protected function getRequestType($category)
{
return stripos($category, '::batchSend') === false ? 'normal' : 'batch';
}