setCommandLineLength() публичный Метод

public setCommandLineLength ( integer $commandLineLength )
$commandLineLength integer
Пример #1
0
 public function testMultiLineDisabled()
 {
     $this->curlFormatter->setCommandLineLength(10);
     $request = new Request('GET', 'example.local', ['foo' => 'bar']);
     $curl = $this->curlFormatter->format($request);
     $this->assertEquals(substr_count($curl, "\n"), 2);
 }