Через WorkManager время показа уведомления может сдвигаться.c этого момента подробнее
<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
<defs>
<pattern id="smallGrid" width="10" height="10" patternUnits="userSpaceOnUse">
<path d="M 10 0 L 0 0 0 10" fill="none" stroke="gray" stroke-width="0.5"/>
</pattern>
<pattern id="grid" width="150" height="150" patternUnits="userSpaceOnUse">
<path d="M 0 0 H50 A20 20 0 1 0 100 50 v25 C50 100 0 85 0 85 z" fill="url(#smallGrid)" stroke="gray" stroke-width="1"/>
</pattern>
</defs>
<rect width="150" height="150" fill="url(#grid)"/>
</svg>
abstract class Entity implements EntityInterface
{
public function __construct(array $state)
{
...
}
}
$collection = new Collection(array_map('Foo::fromState', $fooStates));
async function foo() {
return 1;
}
foo().then(...);