The accompanying video for this tutorial is published on https://learn.alexchiri.com
Contents:
The accompanying video for this tutorial is published on https://learn.alexchiri.com
Contents:
| import { NgModule } from '@angular/core'; | |
| import { CommonModule } from '@angular/common'; | |
| import { JWT_OPTIONS, JwtInterceptor, JwtModule } from '@auth0/angular-jwt'; | |
| import { AuthorizationService } from './authorization.service'; | |
| import { environment } from '../../environments/environment'; | |
| import { HTTP_INTERCEPTORS, HttpClientModule } from '@angular/common/http'; | |
| import { RefreshTokenInterceptor } from './refresh-token-interceptor'; | |
| function jwtOptionsFactory (authorizationService: AuthorizationService) { | |
| return { |
| Model | |
| public function scopeDistance($subQuery, $latitude, $longitude, $distance) | |
| { | |
| //Generating Query | |
| $item_distance_query = '* , (3959 * ' . | |
| 'acos( cos( radians(?) ) ' . //lat | |
| '* cos( radians( lat ) ) ' . | |
| '* cos( radians( lng ) - radians(?) ) ' . //long | |
| '+ sin( radians(?) ) ' . //lat |
| <ion-header> | |
| <ion-toolbar color="primary"> | |
| <ion-buttons navPop left> | |
| <button ion-button icon-only> | |
| <ion-icon name="close-circle"></ion-icon> | |
| </button> | |
| </ion-buttons> | |
| <ion-title>PagSeguro</ion-title> | |
| </ion-toolbar> |
| <?php | |
| namespace Livraria\Entity; | |
| class Configurator { | |
| public static function configure($target, $options, $tryCall = false) | |
| { | |
| if(!is_object($target)) |