Test Setup Failed
Push — master ( 3f2310...2b4a21 )
by Jordan
03:55
created

Inline::start()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Jhoff\BladeVue\Directives;
4
5
class Inline
6
{
7
    /**
8
     * Php code required to render the ending component html tag
9
     *
10
     * @return string
11
     */
12
    public static function end() : string
13
    {
14
        return '</div><?php echo \Jhoff\BladeVue\Components\Inline::end(); ?>';
15
    }
16
17
    /**
18
     * Php code required to parse the expression and render the starting component html tag
19
     *
20
     * @param string $expression
21
     * @return string
22
     */
23
    public static function start(string $expression) : string
24
    {
25
        return "<?php echo \Jhoff\BladeVue\Components\Inline::start($expression); ?><div>";
26
    }
27
}
28