Staff

Extends \mixisLv\Reamaze\BaseApi

Class Staff

package

mixisLv\Reamaze\Api

author

Mikus Rozenbergs mikus.rozenbergs@gmail.com

Methods

__construct

__construct(\mixisLv\Reamaze\Api $api) 
inherited
Warning: count(): Parameter must be an array or an object that implements Countable in phar://C:/WinNMP/bin/phpDocumentor/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar://C:/WinNMP/bin/phpDocumentor/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293

Arguments

Create Staff User

create(\mixisLv\Reamaze\Params\Staff\CreateParams $params) : \stdClass

$staff = new CreateParams( ['name' => 'Jean Super Agent', 'email' => 'jean@example.com', 'password' => time()] ); $response = $reamaze->staff->create();

see https://www.reamaze.com/api/post_staff
Throws
\mixisLv\Reamaze\Exceptions\ApiException

Arguments

Response

\stdClass

Retrieving Staff

retrieve(\mixisLv\Reamaze\Params\Staff\RetrieveParams|null $params = null) : \stdClass

$response = $reamaze->staff->retrieve();

see https://www.reamaze.com/api/get_staff
Throws
\mixisLv\Reamaze\Exceptions\ApiException

Arguments

Response

\stdClass

Properties

api

api : 
inherited

Type(s)