setContent() 공개 메소드

public setContent ( $content )
예제 #1
0
 /**
  * @expectedException \LogicException
  */
 public function testSetContent()
 {
     $response = new BinaryFileResponse(__FILE__);
     $response->setContent('foo');
 }
예제 #2
0
 /**
  * @expectedException \LogicException
  */
 public function testSetContent()
 {
     $response = new BinaryFileResponse('README.md');
     $response->setContent('foo');
 }