autowp/zf-components

View on GitHub
src/Resources.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

declare(strict_types=1);

namespace Autowp\ZFComponents;

final class Resources
{
    /**
     * Non-instantiable.
     */
    private function __construct()
    {
    }

    /**
     * Return the base path to the language resources.
     */
    public static function getBasePath(): string
    {
        return __DIR__ . '/../languages/';
    }

    public static function getPatternForViewHelpers(): string
    {
        return '%s.php';
    }
}