This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use PDO; | |
# App\Pessoa.php | |
class Pessoa | |
{ | |
public $id; | |
public $name; | |
public $gender; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// router/index.js | |
const routes = []; | |
const router = new Router({ | |
mode: 'hash', // https://router.vuejs.org/api/#mode | |
linkActiveClass: 'open active', | |
scrollBehavior: () => ({ y: 0 }), | |
routes | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by @johnwmcarneiro 30/04/2019 | |
* | |
* Requires: | |
* - querystring | |
*/ | |
'use strict'; | |
const { stringify } = require('querystring'); |