Completed
Pull Request — master (#14)
by
unknown
01:13
created

CompileEndRenderDirective::__invoke()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Spatie\ViewComponents;
4
5
final class CompileEndRenderDirective
6
{
7
    public function __invoke(): string
8
    {
9
        return "<?php echo app(Spatie\ViewComponents\ComponentFactory::class)->renderComponent(); ?>";
10
    }
11
}
12