Skip to content

Instantly share code, notes, and snippets.

View danganf's full-sized avatar
🏠
Working from home

Daniel Azevedo danganf

🏠
Working from home
View GitHub Profile
<?php
namespace MagaliApi\MyClass\Requests\GatewayCommerce;
use MagaliApi\MyClass\Contracts\GatewayCommerce;
class Category extends GatewayCommerce {
CONST TABLE = 'category';
CONST REL_CAT_PRODUCT_CAT = 'category_product_by_category_id';
<?php
namespace App\Model;
use App\Model\Views\AcomodacaoDetalhes;
use App\Model\Views\Comodidades;
use Illuminate\Database\Eloquent\Model;
class Acomodacao extends Model
{
<?php
/**
*
* @SWG\Swagger(
* @SWG\Info(
* title="APIs Magali-PDV",
* version="Beta",
* @SWG\Contact(
* email="devteam@intercase.com.br"
* )
@danganf
danganf / Curl.php
Last active September 27, 2018 13:56
<?php
namespace IntercaseDefault\MyClass;
class Curl{
private $timeout = 15;
private $connectionTimeout = 10;
public function __construct () {