PHP Class SevenShores\Hubspot\Resources\Resource

Mostra file Open project: fungku/hubspot-php

Protected Properties

Property Type Description
$client SevenShores\Hubspot\Http\Client

Public Methods

Method Description
__construct ( Client $client ) Makin' a good ole resource

Protected Methods

Method Description
timestamp ( DateTime | integer | null $timestamp ) : integer | null Convert a timestamp or DateTime to a millisecond timestamp.

Method Details

__construct() public method

Makin' a good ole resource
public __construct ( Client $client )
$client SevenShores\Hubspot\Http\Client

timestamp() protected method

Convert a timestamp or DateTime to a millisecond timestamp.
protected timestamp ( DateTime | integer | null $timestamp ) : integer | null
$timestamp DateTime | integer | null
return integer | null

Property Details

$client protected_oe property

protected Client,SevenShores\Hubspot\Http $client
return SevenShores\Hubspot\Http\Client