CommandSubscriber::getSubscribedCommands()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * GpsLab component.
5
 *
6
 * @author    Peter Gribanov <[email protected]>
7
 * @copyright Copyright (c) 2011, Peter Gribanov
8
 * @license   http://opensource.org/licenses/MIT
9
 */
10
11
namespace GpsLab\Component\Command\Handler;
12
13
interface CommandSubscriber
14
{
15
    /**
16
     * Get called methods for subscribed commands.
17
     *
18
     * <code>
19
     * {
20
     *  <command_name>: <method_name>,
21
     * }
22
     * </code>
23
     *
24
     * @return array<class-string, string>
0 ignored issues
show
Documentation introduced by
The doc-type array<class-string, could not be parsed: Unknown type name "class-string" at position 6. (view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
25
     */
26
    public static function getSubscribedCommands(): array;
27
}
28