getCommand() public method

Returns the internal command.
public getCommand ( ) : Command
return Command
Example #1
0
 /**
  * {@inheritdoc}
  */
 public function execute(Query $query, $fetchPlan = null)
 {
     if ($query->getCommand() instanceof Select) {
         return $this->query($query->getRaw(), -1, $fetchPlan);
     }
     return $this->command($query->getRaw());
 }