PHP Class Pingpp\ApiResource

Inheritance: extends PingppObject
Afficher le fichier Open project: pingplusplus/pingpp-php

Méthodes publiques

Méthode Description
baseUrl ( )
className ( ) : string
classUrl ( ) : string
instanceUrl ( ) : string
refresh ( ) : ApiResource

Méthodes protégées

Méthode Description
_all ( $params = null, $options = null )
_create ( $params = null, $options = null )
_delete ( $params = null, $options = null )
_request ( $method, $url, $params = [], $options = null )
_retrieve ( $id, $options = null )
_save ( $options = null )
_staticRequest ( $method, $url, $params, $options )

Private Methods

Méthode Description
_validateParams ( $params = null )

Method Details

_all() protected static méthode

protected static _all ( $params = null, $options = null )

_create() protected static méthode

protected static _create ( $params = null, $options = null )

_delete() protected méthode

protected _delete ( $params = null, $options = null )

_request() protected méthode

protected _request ( $method, $url, $params = [], $options = null )

_retrieve() protected static méthode

protected static _retrieve ( $id, $options = null )

_save() protected méthode

protected _save ( $options = null )

_staticRequest() protected static méthode

protected static _staticRequest ( $method, $url, $params, $options )

baseUrl() public static méthode

public static baseUrl ( )

className() public static méthode

public static className ( ) : string
Résultat string The name of the class, with namespacing and underscores stripped.

classUrl() public static méthode

public static classUrl ( ) : string
Résultat string The endpoint URL for the given class.

instanceUrl() public méthode

public instanceUrl ( ) : string
Résultat string The full API URL for this API resource.

refresh() public méthode

public refresh ( ) : ApiResource
Résultat ApiResource The refreshed resource.