Completed
Pull Request — 3.1 (#8)
by David
08:26 queued 07:15
created

getTemplateDirectory()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
namespace Mouf\Html\Utils\WebLibraryManager;
3
4
use Mouf\Html\Renderer\AbstractPackageRendererServiceProvider;
5
6
class WebLibraryManagerRendererServiceProvider extends AbstractPackageRendererServiceProvider
7
{
8
    /**
9
     * Returns the path to the templates directory.
10
     *
11
     * @return string
12
     */
13
    public static function getTemplateDirectory(): string
14
    {
15
        $path = \ComposerLocator::getPath('mouf/html.utils.weblibrarymanager');
16
        return $path.'/templates';
17
    }
18
}
19