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

SerializerUI   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 4

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 1
cbo 4
dl 0
loc 11
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A showSkeleton() 0 8 1
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
}