# yatra/2.3.2/core/API/TrackerAPI.php

Yatra – Travel Booking &amp; Tour Operator Software, version 2.3.2. 29 lines.

- Page: https://pluginprobe.com/plugins/yatra/2.3.2/code/core/API/TrackerAPI.php
- Raw: https://pluginprobe.com/plugins/yatra/2.3.2/raw/core/API/TrackerAPI.php
- Modified: 2022-11-10T16:58:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/yatra/2.3.2/code/core/API/TrackerAPI.php#L10-L20`.

```php
<?php

namespace Yatra\Core\API;


class TrackerAPI extends RestBase
{
    protected $method = \WP_REST_Server::READABLE;

    protected $rest_route_id = 'track';

    protected $namespace = YATRA_REST_GENERAL_NAMESPACE;

    public function validate(\WP_REST_Request $request)
    {
        return true;
    }

    public function handle(\WP_REST_Request $request)
    {
        return new \WP_REST_Response(['status' => true], 200);
    }

    public static function init()
    {
        return new self;
    }
}

```
