| Conditions | 2 |
| Paths | 2 |
| Total Lines | 23 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function execute( |
||
| 20 | $command_name, |
||
| 21 | array $parameters = array() |
||
| 22 | ) |
||
| 23 | { |
||
| 24 | $extra = [ |
||
| 25 | 'type' => 'webdriver-activity', |
||
| 26 | 'activity' => 'action', |
||
| 27 | 'command' => $command_name |
||
| 28 | ]; |
||
| 29 | |||
| 30 | if (isset($parameters[':id'])) { |
||
| 31 | $extra['id'] = $parameters[':id']; |
||
| 32 | } |
||
| 33 | |||
| 34 | $this->logger->debug( |
||
| 35 | sprintf( |
||
| 36 | 'Executing: ' . $command_name |
||
| 37 | ), |
||
| 38 | $extra |
||
| 39 | ); |
||
| 40 | return parent::execute($command_name, $parameters); // TODO: Change the autogenerated stub |
||
| 41 | } |
||
| 42 | |||
| 45 |