for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CybozuHttp\Api\User;
/**
* @author ochi51 <[email protected]>
*/
class UserServices
{
* @var Csv
private $csv;
* UserServices constructor.
* @param Csv $csv
public function __construct(Csv $csv)
$this->csv = $csv;
}
* Get userServices by csv
* https://cybozudev.zendesk.com/hc/ja/articles/202363070
*
* @return string
* @throws \InvalidArgumentException
public function getByCsv(): string
return $this->csv->get('userServices');
* Post userServices by csv
* https://cybozudev.zendesk.com/hc/ja/articles/202124734
* @param $filename
* @return int
public function postByCsv($filename): int
return $this->csv->post('userServices', $filename);