/** * @since 1.0 * * @param int $accidentals 256 - # of flats, 0 + # of sharps * @param int $mode 0 for major, 1 for minor */ public function __construct($accidentals, $mode) { parent::__construct(array($accidentals, $mode)); }
public function testGetType() { $this->assertSame(EventType::META, $this->obj->getType()); }
/** * Constructor * * @since 1.0 * * @param int $frameRate Valid values: 0 (24fps), 1 (25fps), 2 (30fps drop frame), 3 (30fps) * @param int $hour Valid values: 0-23 * @param int $min Valid values: 0-59 * @param int $second Valid values: 0-59 * @param int $frame Valid values: 0-59 * @param int $subframe Valid values: 0-99 */ public function __construct($frameRate, $hour, $min, $second, $frame, $subframe) { parent::__construct(array($frameRate << 5 | $hour, $min, $second, $frame, $subframe)); }