public function add(Container $container, $startOnCreate = true)
    {
        $this->client->post($this->getUri(), $container, array('startOnCreate' => $startOnCreate));

        return $this->reload();
    }
public function add(Container $container, $startOnCreate = true)
    {
        $this->client->post($this->getUri(), $container, array('startOnCreate' => $startOnCreate));

        return $this->reload();
    }
public function add ( Container $ container , $ startOnCreate = true ) { $ this -> client -> post ( $ this -> getUri ( ) , $ container , array ( 'startOnCreate' => $ startOnCreate ) ) ; return $ this -> reload ( ) ; }
Add a new container.

@param Container $container
@param bool      $startOnCreate

@return $this
Add a new container .