Overview

Namespaces

  • Net
    • Bazzline
      • Component
        • CommandCollection
          • Filesystem
          • Http
          • Process
          • Vcs

Classes

  • Curl
  • Overview
  • Namespace
  • Class

Class Curl

Net\Bazzline\Component\Command\AbstractCommand
Extended by Net\Bazzline\Component\CommandCollection\Http\Curl
Namespace: Net\Bazzline\Component\CommandCollection\Http
Located at Http/Curl.php
Methods summary
public array
# __invoke( string $url, string $method, null|mixed $data = null )

Parameters

$url
$method
$data

Returns

array

Throws

Net\Bazzline\Component\Command\RuntimeException
public
# beSilent( )
public
# isJson( )
public
# noSslSecurity( )
public
# noSslRevoke( )
public
# addHeader( string $header )

Parameters

$header
public array
# delete( string $host, string $url, null|mixed $data = null )

Parameters

$host
$url
$data

Returns

array
public array
# get( string $host, string $url )

Parameters

$host
$url

Returns

array
public array
# post( string $host, string $url, null|mixed $data = null )

Parameters

$host
$url
$data

Returns

array
public array
# put( string $host, string $url, null|mixed $data = null )

Parameters

$host
$url
$data

Returns

array
public array
# send( string $host, string $url, string $method, null|mixed $data = null )

Parameters

$host
$url
$method
$data

Returns

array

Throws

Net\Bazzline\Component\Command\RuntimeException
public
# validateSystemEnvironment( )

Throws

Net\Bazzline\Component\Command\InvalidSystemEnvironmentException
PHP Command Collection Component by bazzline.net API documentation generated by ApiGen