Issues (8)

src/ContainerDecoratorInterface.php (1 issue)

1
<?php
2
3
/*
4
 *  This file is part of the Micro framework package.
5
 *
6
 *  (c) Stanislau Komar <[email protected]>
7
 *
8
 *  For the full copyright and license information, please view the LICENSE
9
 *  file that was distributed with this source code.
10
 */
11
12
namespace Micro\Component\DependencyInjection;
13
14
interface ContainerDecoratorInterface
15
{
16
    /**
17
     * @template T of object
18
     *
19
     * @param class-string<T> $id
0 ignored issues
show
Documentation Bug introduced by
The doc comment class-string<T> at position 0 could not be parsed: Unknown type name 'class-string' at position 0 in class-string<T>.
Loading history...
20
     */
21
    public function decorate(string $id, callable $service, int $priority = 0): void;
22
}
23