1 : <?php
2 :
3 : /**
4 : * \Midi\Event\MarkerEvent
5 : *
6 : * @package Midi
7 : * @subpackage Event
8 : * @copyright © 2009 Tommy Montgomery <http://phpmidiparser.com/>
9 : * @since 1.0
10 : */
11 :
12 : namespace Midi\Event;
13 :
14 : /**
15 : * Represents a marker meta event
16 : *
17 : * @package Midi
18 : * @subpackage Event
19 : * @since 1.0
20 : * @todo Document what this event actually does
21 : */
22 1 : class MarkerEvent extends MetaEvent {
23 :
24 : /**
25 : * @since 1.0
26 : *
27 : * @return string
28 : */
29 : public function getParamDescription() {
30 1 : return $this->data;
31 : }
32 :
33 : /**
34 : * @since 1.0
35 : * @uses MetaEventType::MARKER
36 : *
37 : * @return int
38 : */
39 : public function getSubtype() {
40 1 : return MetaEventType::MARKER;
41 : }
42 :
43 : }
44 :
|