| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 13 | 
| Code Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php  | 
            ||
| 57 | public function createProfile($name, $description, $id = '')  | 
            ||
| 58 |     { | 
            ||
| 59 | $profile = new Profile();  | 
            ||
| 60 |         if ($id != '') { | 
            ||
| 61 | $profile->setId($id);  | 
            ||
| 62 | }  | 
            ||
| 63 | $profile->setName($name);  | 
            ||
| 64 | $profile->setDescription($description);  | 
            ||
| 65 | |||
| 66 | $this->manager->persist($profile);  | 
            ||
| 67 | $this->manager->commit();  | 
            ||
| 68 | $this->manager->flush();  | 
            ||
| 69 | }  | 
            ||
| 70 | }  | 
            ||
| 71 |