jawira/case-converter

View on GitHub
src/Glue/AdaCase.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php declare(strict_types=1);

namespace Jawira\CaseConverter\Glue;

/**
 * Class AdaCase
 *
 * Outputs string in _Ada case_ format: This_Is_Ada_Case
 */
class AdaCase extends UnderscoreGluer
{
    /**
     * Format detected words in _Ada case_
     *
     * @return string
     */
    public function glue(): string
    {
        return $this->glueUsingRules(self::DELIMITER, $this->titleCase);
    }
}