This file contains 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 | |
namespace TrustTattoo\Http\Controllers\Admin; | |
use TrustTattoo\Contact; | |
use TrustTattoo\Http\Controllers\Controller; | |
use TrustTattoo\Http\Requests\CsvImportRequest; | |
class ImportCsvController extends Controller | |
{ |
This file contains 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 | |
namespace TrustTattoo; | |
use Illuminate\Database\Eloquent\Model; | |
use Illuminate\Support\Carbon; | |
class Contact extends Model | |
{ | |
public $timestamps = false; |
This file contains 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 | |
namespace TrustTattoo; | |
use TrustTattoo\Presenters\ContactPresenter; | |
use Laracasts\Presenter\PresentableTrait; | |
use Illuminate\Database\Eloquent\Model; | |
use Illuminate\Support\Carbon; | |
class Contact extends Model |
This file contains 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 | |
namespace TrustTattoo\Presenters; | |
use Illuminate\Support\Carbon; | |
class ContactPresenter extends BasePresenter | |
{ | |
public function getFullName() | |
{ |
This file contains 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
#!/bin/bash | |
# Params | |
dir=${1} # Name Project Dir | |
version=${2} # Version Themosis 2.0-beta3 | |
# Change your Params | |
user='root' | |
pass='root' | |
db='mysql' |
This file contains 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 | |
namespace App\Widgets; | |
use App\Post; | |
use Illuminate\Support\Str; | |
use TCG\Voyager\Widgets\BaseDimmer; | |
use Illuminate\Support\Facades\Auth; | |
class Posts extends BaseDimmer |
This file contains 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
{ | |
"type": "collective", | |
"content": [ | |
{ | |
"title": "Título", | |
"description": "Descrição", | |
"members": [ | |
{ | |
"photo": "user-1.jpg", | |
"name": "Nome" |
This file contains 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
# em docker-compose.yml usar o código para novas pastas do fpm | |
### PHP-FPM ############################################## | |
php-fpm: | |
build: | |
context: ./php-fpm | |
args: | |
- CHANGE_SOURCE=${CHANGE_SOURCE} | |
- LARADOCK_PHP_VERSION=${PHP_VERSION} | |
- LARADOCK_PHALCON_VERSION=${PHALCON_VERSION} |
This file contains 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 Illuminate\Database\Migrations\Migration; | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Support\Facades\Schema; | |
class CreateCouponsTable extends Migration | |
{ | |
/** | |
* Run the migrations. |
This file contains 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
{"lastUpload":"2020-08-22T17:15:24.995Z","extensionVersion":"v3.4.3"} |
OlderNewer