public function containerStop($container, $t = null)
    {
        return $this->browser->post(
            $this->uri->expand(
                '/containers/{container}/stop{?t}',
                array(
                    'container' => $container,
                    't' => $t
                )
            )
        )->then(array($this->parser, 'expectEmpty'));
    }
public function containerStop($container, $t = null)
    {
        return $this->browser->post(
            $this->uri->expand(
                '/containers/{container}/stop{?t}',
                array(
                    'container' => $container,
                    't' => $t
                )
            )
        )->then(array($this->parser, 'expectEmpty'));
    }
public function containerStop ( $ container , $ t = null ) { return $ this -> browser -> post ( $ this -> uri -> expand ( '/containers/{container}/stop{?t}' , array ( 'container' => $ container , 't' => $ t ) ) ) -> then ( array ( $ this -> parser , 'expectEmpty' ) ) ; }
Stop the container id

@param string   $container container ID
@param null|int $t         (optional) number of seconds to wait before killing the container
@return PromiseInterface Promise<null>
@link https://docs.docker.com/reference/api/docker_remote_api_v1.15/#stop-a-container
Stop the container id