Completed
Push — develop ( c96724...2e3f1f )
by Faiz
02:59
created

SurahCommand::configure()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 12
Code Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 12
rs 9.4285
cc 1
eloc 8
nc 1
nop 0
1
<?php
2
3
namespace FaizShukri\Quran\Commands;
4
5
use Symfony\Component\Console\Command\Command;
6
use Symfony\Component\Console\Input\InputArgument;
7
use Symfony\Component\Console\Input\InputInterface;
8
use Symfony\Component\Console\Output\OutputInterface;
9
10
class SurahCommand extends Command
11
{
12
    protected function configure()
13
    {
14
        $this
15
            ->setName('surah')
16
            ->setDescription('Retrieve surah')
17
            ->addArgument(
18
                'index',
19
                InputArgument::OPTIONAL,
20
                'Surah index'
21
            )
22
        ;
23
    }
24
25
    protected function execute(InputInterface $input, OutputInterface $output)
26
    {
27
28
    }
29
}
30