/** * @covers \DCarbone\CurlPlus\CurlOptHelper::getStringNameForCurlOpt * @uses \DCarbone\CurlPlus\CurlOptHelper */ public function testCanGetNullForUndefinedCurlOpt() { $null = \DCarbone\CurlPlus\CurlOptHelper::getStringNameForCurlOpt(-43); $this->assertNull($null); }
/** * @param bool $humanReadable * @return array */ public function getCurlOpts($humanReadable = false) { if ($humanReadable) { return CurlOptHelper::createHumanReadableCurlOptArray($this->curlOptArray); } return $this->curlOptArray; }