for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Yandex PHP Library
*
* @copyright NIX Solutions Ltd.
* @link https://github.com/nixsolutions/yandex-php-library
*/
* @namespace
namespace Yandex\Metrica\Stat;
use Yandex\Metrica\MetricaClient;
class StatClient extends MetricaClient
{
* API domain
* @var string
protected $serviceDomain = 'api-metrika.yandex.ru/stat/v1/data';
* @return DataClient
public function data()
return new DataClient($this->getAccessToken());
}