- array_merge: documentation ( source)
<?php
$this->logger->warning(
$text,
array_merge(
$mixin,
[
'key' => $key,
'state' => $state,
'module' => 'cache'
],
null !== $time ? [
'time' => (int) $time // milliseconds
] : [],
$itemStack ? ['keyStack' => $this->getItemStackKeys($itemStack)] : []
)
);