Api/Method/TallantoGetClassesVisitsMethod.php
public function getVisits($items)
  {
    $result = [];
    foreach ($items as $item) {
      $result[] = new Visit($item);
    }

    return $result;
  }
public function getVisits($items)
  {
    $result = [];
    foreach ($items as $item) {
      $result[] = new Visit($item);
    }

    return $result;
  }
public function getVisits ( $ items ) { $ result = [ ] ; foreach ( $ items as $ item ) { $ result [ ] = new Visit ( $ item ) ; } return $ result ; }
Returns array of visits.

@param array $items
@return array
Returns array of visits .