The accompanying video for this tutorial is published on https://learn.alexchiri.com
Contents:
<?php | |
namespace Livraria\Entity; | |
class Configurator { | |
public static function configure($target, $options, $tryCall = false) | |
{ | |
if(!is_object($target)) |
<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> |
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 |
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 { |
The accompanying video for this tutorial is published on https://learn.alexchiri.com
Contents: