public function get($id, $limit = null, $page = null, \DateTime $dateFrom = null, \DateTime $dateTo = null)
    {
        $options = array();

        if ($limit) {
            $options['limit'] = (int) $limit;
        }

        if ($page) {
            $options['page'] = (int) $page;
        }

        if ($dateFrom) {
            $options['dateFrom'] = $dateFrom->format('c');
        }

        if ($dateTo) {
            $options['dateTo'] = $dateTo->format('c');
        }

        return $this->makeRequest("{$this->endpoint}/$id", $options);
    }
public function get($id, $limit = null, $page = null, \DateTime $dateFrom = null, \DateTime $dateTo = null)
    {
        $options = array();

        if ($limit) {
            $options['limit'] = (int) $limit;
        }

        if ($page) {
            $options['page'] = (int) $page;
        }

        if ($dateFrom) {
            $options['dateFrom'] = $dateFrom->format('c');
        }

        if ($dateTo) {
            $options['dateTo'] = $dateTo->format('c');
        }

        return $this->makeRequest("{$this->endpoint}/$id", $options);
    }
public function get ( $ id , $ limit = null , $ page = null , \ DateTime $ dateFrom = null , \ DateTime $ dateTo = null ) { $ options = array ( ) ; if ( $ limit ) { $ options [ 'limit' ] = ( int ) $ limit ; } if ( $ page ) { $ options [ 'page' ] = ( int ) $ page ; } if ( $ dateFrom ) { $ options [ 'dateFrom' ] = $ dateFrom -> format ( 'c' ) ; } if ( $ dateTo ) { $ options [ 'dateTo' ] = $ dateTo -> format ( 'c' ) ; } return $ this -> makeRequest ( "{$this->endpoint}/$id" , $ options ) ; }
Get a single report data

@param int            $id
@param int|null       $limit
@param int|null       $page
@param \DateTime|null $dateFrom
@param \DateTime|null $dateTo

@return array|mixed
Get a single report data