Skip to content

Commit b059dfb

Browse files
author
Martin Brecht-Precht
committed
Added pseudo enum classes.
1 parent 7c5cb64 commit b059dfb

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

src/Common/EmphasisLevel.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
namespace Markdom\Common;
4+
5+
/**
6+
* Class EmphasisLevel
7+
*
8+
* @package Markdom\Common
9+
*/
10+
class EmphasisLevel
11+
{
12+
13+
const LEVEL_1 = 'LEVEL_1';
14+
const LEVEL_2 = 'LEVEL_2';
15+
16+
}

src/Common/HeadingLevel.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
namespace Markdom\Common;
4+
5+
/**
6+
* Class EmphasisLevel
7+
*
8+
* @package Markdom\Common
9+
*/
10+
class EmphasisLevel
11+
{
12+
13+
const LEVEL_1 = 'LEVEL_1';
14+
const LEVEL_2 = 'LEVEL_2';
15+
const LEVEL_3 = 'LEVEL_3';
16+
const LEVEL_4 = 'LEVEL_4';
17+
const LEVEL_5 = 'LEVEL_5';
18+
const LEVEL_6 = 'LEVEL_6';
19+
20+
}

0 commit comments

Comments
 (0)