Completed
Push — master ( ba37aa...7700d1 )
by Mahmoud
03:30
created

PublicApi::getCommand()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace App\Containers\Documentation\Objects;
4
5
use App\Containers\Documentation\Abstracts\ApiTypeAbstract;
6
use App\Containers\Documentation\Contracts\ApiTypeInterface;
7
8
/**
9
 * Class PublicApi.
10
 *
11
 * @author Mahmoud Zalt <[email protected]>
12
 */
13
class PublicApi extends ApiTypeAbstract implements ApiTypeInterface
14
{
15
16
    public static $type = 'public';
17
18
    private $routeFiles = '-f public.php';
19
20
    public function getCommand()
21
    {
22
        return "-c {$this->getJsonFilePath()}   {$this->routeFiles}   -i app   -o {$this->getDocumentationPath()}";
23
    }
24
25
}
26