| Total Complexity | 6 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class PostVerification extends AjaxController |
||
| 11 | { |
||
| 12 | use StringFunctions; |
||
|
1 ignored issue
–
show
|
|||
| 13 | |||
| 14 | |||
| 15 | protected $slug; |
||
| 16 | |||
| 17 | public function __construct(Container $container) |
||
| 18 | { |
||
| 19 | $this->loadModules[] = 'Slug'; |
||
| 20 | parent::__construct($container); |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * checks if the slug is unique |
||
| 25 | * @return bool is unique |
||
| 26 | * @throws \Core\JsonException |
||
| 27 | * @throws \Exception |
||
| 28 | */ |
||
| 29 | public function isSlugUnique() |
||
| 56 | } |
||
| 57 | |||
| 58 | } |