save() 공개 메소드

Save the cart state.
public save ( )
예제 #1
0
파일: CartTest.php 프로젝트: kingsj/cart
 public function testSave()
 {
     $store = m::mock('Cart\\Storage\\Store');
     $store->shouldReceive('put')->times(1);
     $cart = new Cart('foo', $store);
     $cart->save();
 }