1 | <?php |
||
20 | class IconBlock extends Aside |
||
21 | { |
||
22 | protected $type; |
||
23 | |||
24 | /** |
||
25 | * @param string $type Icon Block type (e.g. I for Info) |
||
26 | */ |
||
27 | 23 | public function __construct($type) |
|
32 | |||
33 | /** |
||
34 | * @return string |
||
35 | */ |
||
36 | 23 | public function getType() |
|
40 | |||
41 | /** |
||
42 | * @return string |
||
43 | */ |
||
44 | 23 | public function getTypeName() |
|
49 | |||
50 | /** |
||
51 | * @return array |
||
52 | */ |
||
53 | 30 | public static function getIconBlockTypes() |
|
65 | |||
66 | /** |
||
67 | * {@inheritdoc} |
||
68 | */ |
||
69 | 16 | public function matchesNextLine(Cursor $cursor) |
|
84 | } |
||
85 |