| Conditions | 4 | 
| Paths | 4 | 
| Total Lines | 15 | 
| Code Lines | 10 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 33 | public function handleCommand($command, $data = null)  | 
            ||
| 34 | 	{ | 
            ||
| 35 | 		switch ($command) { | 
            ||
| 36 | case 'item':  | 
            ||
| 37 | $this->mostRecentItem = self::typeFactory($this, $data);  | 
            ||
| 38 | $this->allOfItems[] = $this->mostRecentItem;  | 
            ||
| 39 | return $this;  | 
            ||
| 40 | }  | 
            ||
| 41 | 		if (isset($this->mostRecentItem)) { | 
            ||
| 42 | 			if ($this->mostRecentItem->handleCommand($command, $data)) { | 
            ||
| 43 | return $this;  | 
            ||
| 44 | }  | 
            ||
| 45 | }  | 
            ||
| 46 | return parent::handleCommand($command, $data);  | 
            ||
| 47 | }  | 
            ||
| 48 | |||
| 60 |