for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace seregazhuk\Favro\Api\Endpoints;
class Organizations extends CrudEndpoint
{
/**
* @var string
*/
protected $endpoint = 'organizations';
* @param string $id
* @return array
public function getById($id)
$this->headers['organizationId'] = $id;
return parent::getById($id);
}
* @param string $itemId
* @param array $attributes
* @return mixed
public function update($itemId, array $attributes)
$this->headers['organizationId'] = $itemId;
return parent::update($itemId, $attributes);