The example;
PHP:
This really should be;
PHP:
Read more
Читать далее...
PHP:
Код:
public static function iconUsageAnalyzerSteps(
array &$steps,
\XF\Service\Icon\UsageAnalyzer $usageAnalyzer
): void
{
$steps['my_content_type'] = [
function (?int $lastOffset, float $maxRunTime) use ($usageAnalyzer): ?int
{
// your icon usage analyzer logic
return null;
},
];
}
This really should be;
PHP:
Код:
public static function iconUsageAnalyzerSteps(
array &$steps,
\XF\Service\Icon\UsageAnalyzer...
Read more
Читать далее...