PHP Class Art4\JsonApiClient\Utils\Manager

Inheritance: implements Art4\JsonApiClient\Utils\ManagerInterface, implements Art4\JsonApiClient\Utils\FactoryManagerInterface
Exibir arquivo Open project: art4/json-api-client Class Usage Examples

Public Properties

Property Type Description
$factory Art4\JsonApiClient\Utils\FactoryInterface

Public Methods

Method Description
__construct ( Art4\JsonApiClient\Utils\FactoryInterface $factory = null ) : object
getFactory ( ) : Art4\JsonApiClient\Utils\FactoryInterface Get a factory from the manager
parse ( string $string ) : Art4\JsonApiClient\AccessInterface Parse a JSON API string into an object
setFactory ( Art4\JsonApiClient\Utils\FactoryInterface $factory ) : object Set a factory into the manager

Method Details

__construct() public method

public __construct ( Art4\JsonApiClient\Utils\FactoryInterface $factory = null ) : object
$factory Art4\JsonApiClient\Utils\FactoryInterface
return object

getFactory() public method

Get a factory from the manager
public getFactory ( ) : Art4\JsonApiClient\Utils\FactoryInterface
return Art4\JsonApiClient\Utils\FactoryInterface

parse() public method

Parse a JSON API string into an object
public parse ( string $string ) : Art4\JsonApiClient\AccessInterface
$string string The JSON API string
return Art4\JsonApiClient\AccessInterface

setFactory() public method

Set a factory into the manager
public setFactory ( Art4\JsonApiClient\Utils\FactoryInterface $factory ) : object
$factory Art4\JsonApiClient\Utils\FactoryInterface
return object

Property Details

$factory public_oe property

public FactoryInterface,Art4\JsonApiClient\Utils $factory
return Art4\JsonApiClient\Utils\FactoryInterface