public function envExec(array $execute_command, $opts = ['service' => null])
    {
        $this->executeCommandHook(__FUNCTION__, 'before');
        $this->engineInstance()->exec(
            implode(' ', $execute_command),
            $opts['service']
        );
        $this->executeCommandHook(__FUNCTION__, 'after');

        return $this;
    }
public function envExec(array $execute_command, $opts = ['service' => null])
    {
        $this->executeCommandHook(__FUNCTION__, 'before');
        $this->engineInstance()->exec(
            implode(' ', $execute_command),
            $opts['service']
        );
        $this->executeCommandHook(__FUNCTION__, 'after');

        return $this;
    }
public function envExec ( array $ execute_command , $ opts = [ 'service' => null ] ) { $ this -> executeCommandHook ( __FUNCTION__ , 'before' ) ; $ this -> engineInstance ( ) -> exec ( implode ( ' ' , $ execute_command ) , $ opts [ 'service' ] ) ; $ this -> executeCommandHook ( __FUNCTION__ , 'after' ) ; return $ this ; }
Execute an arbitrary command in the environment engine.

@param array $execute_command The commend string to execute.
@param array $opts An array of the command options
@option string $service The service name on which to execute the
command inside the container.

@return $this
Execute an arbitrary command in the environment engine .