Completed
Push — master ( dd800d...af5658 )
by Thomas
07:26
created

SerializerUI::showSkeleton()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 8
rs 9.4285
cc 1
eloc 5
nc 1
nop 0
1
<?php
2
namespace keeko\tools\ui;
3
4
use keeko\tools\ui\ModelSkeletonUI;
5
use Symfony\Component\Console\Question\Question;
6
7
class SerializerUI extends ModelSkeletonUI {
0 ignored issues
show
Bug introduced by
There is one abstract method getLabel in this class; you could implement it, or declare this class as abstract.
Loading history...
8
9
	protected function showSkeleton() {
10
		$input = $this->io->getInput();
11
		$name = $input->getArgument('name');
12
		
13
		// ask for classname
14
		$name = $this->askQuestion(new Question('Classname', $name));
15
		$input->setArgument('name', $name);
16
	}
17
}