public function getByIpv4($ip, int $trackableType = Tracker::TRACKER_ANY, int $perPage = 15) : LengthAwarePaginator
    {
        return $this->getModel()
                    ->newQuery()
                    ->where('ipv4', $this->getLongIp($ip))
                    ->where($this->typeClosure($trackableType))
                    ->paginate($perPage);
    }
public function getByIpv4($ip, int $trackableType = Tracker::TRACKER_ANY, int $perPage = 15) : LengthAwarePaginator
    {
        return $this->getModel()
                    ->newQuery()
                    ->where('ipv4', $this->getLongIp($ip))
                    ->where($this->typeClosure($trackableType))
                    ->paginate($perPage);
    }
public function getByIpv4 ( $ ip , int $ trackableType = Tracker :: TRACKER_ANY , int $ perPage = 15 ) : LengthAwarePaginator { return $ this -> getModel ( ) -> newQuery ( ) -> where ( 'ipv4' , $ this -> getLongIp ( $ ip ) ) -> where ( $ this -> typeClosure ( $ trackableType ) ) -> paginate ( $ perPage ) ; }
Get tracks by IPv4

@param string|int $ip
@param int        $trackableType
@param int        $perPage
@return \Illuminate\Contracts\Pagination\LengthAwarePaginator
Get tracks by IPv4