| Conditions | 3 | 
| Paths | 4 | 
| Total Lines | 17 | 
| Code Lines | 10 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 24 | 	protected function generateIdentifyingMethods(PhpClass $class) { | 
            ||
| 25 | 		if (!$class->hasMethod('getType')) { | 
            ||
| 26 | 			$class->setMethod(PhpMethod::create('getType') | 
            ||
| 27 | 				->addParameter(PhpParameter::create('model')) | 
            ||
| 28 | 				->setBody($this->twig->render('getType.twig', [ | 
            ||
| 29 | 'type' => '@TODO'  | 
            ||
| 30 | ]))  | 
            ||
| 31 | );  | 
            ||
| 32 | }  | 
            ||
| 33 | |||
| 34 | 		if (!$class->hasMethod('getId')) { | 
            ||
| 35 | 			$class->setMethod(PhpMethod::create('getId') | 
            ||
| 36 | 				->addParameter(PhpParameter::create('model')) | 
            ||
| 37 | 				->setBody($this->twig->render('getId.twig')) | 
            ||
| 38 | );  | 
            ||
| 39 | }  | 
            ||
| 40 | }  | 
            ||
| 41 | |||
| 42 | }  |