Passed
Push — master ( ed297f...604ea4 )
by Giuliano
04:39
created

Samurai::theme()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Maestriam\Samurai\Entities;
4
5
use Maestriam\Samurai\Contracts\Entities\SamuraiContract;
6
7
class Samurai implements SamuraiContract
8
{
9
    /**
10
     * {@inheritDoc}
11
     */
12
    public function base() : Base
13
    {
14
        return new Base();
15
    }
16
17
    /**
18
     * {@inheritDoc}
19
     */
20
    public function theme(string $package) : Theme
21
    {
22
        return new Theme($package);
23
    }
24
25
    /**
26
     * {@inheritDoc}
27
     */
28
    public function wizard() : Wizard
29
    {
30
        return new Wizard();
31
    }
32
}
33