src/DunitCommand.php
private function executeCommandForImage($image, $command)
    {
        passthru(sprintf(
            self::DOCKER_COMMAND_FORMAT,
            escapeshellarg($image),
            intval($this->getColumns()),
            $command
        ));
    }
private function executeCommandForImage($image, $command)
    {
        passthru(sprintf(
            self::DOCKER_COMMAND_FORMAT,
            escapeshellarg($image),
            intval($this->getColumns()),
            $command
        ));
    }
private function executeCommandForImage ( $ image , $ command ) { passthru ( sprintf ( self :: DOCKER_COMMAND_FORMAT , escapeshellarg ( $ image ) , intval ( $ this -> getColumns ( ) ) , $ command ) ) ; }
Executes an arbitrary command against the image.
@param string $image The docker image to use.
@param string $command The command to run inside the docker image.
Executes an arbitrary command against the image .