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
sass --update --style=compressed --no-source-map --watch stylesheets/main.scss:public/css/style.css |
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 | |
/** | |
* Class UnsafeClientIpProvider | |
*/ | |
class UnsafeClientIpProvider | |
{ | |
/** | |
* @var array |
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\Services\Dto; | |
abstract class AbstractDto | |
{ | |
/** | |
* AbstractRequestDto constructor. | |
* @param array $data | |
*/ |
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
; This file is for unifying the coding style for different editors and IDEs. | |
; More information at http://editorconfig.org | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 4 | |
end_of_line = lf | |
insert_final_newline = true |
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
// https://stackoverflow.com/a/29022400/155905 | |
// Call this at each point of interest, passing a descriptive string | |
function prof_flag($str) | |
{ | |
global $prof_timing, $prof_names; | |
$prof_timing[] = microtime(true); | |
$prof_names[] = $str; | |
} |
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\Repositories\Eloquent; | |
use App\Model\Message; | |
use App\Model\Quote; | |
use App\Repositories\QuoteRepositoryInterface; | |
use Illuminate\Database\Eloquent\Builder; | |
use Illuminate\Database\Eloquent\Collection; | |
use Illuminate\Database\Eloquent\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 App\Repositories\Eloquent; | |
use Illuminate\Database\Eloquent\Model; | |
/** | |
* Class BaseRepository | |
* @package App\Repositories\Eloquent | |
*/ |
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\Repositories; | |
/** | |
* Interface QuoteRepositoryInterface | |
* @package App\Repositories | |
*/ | |
interface QuoteRepositoryInterface | |
{ |
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\Repositories\Eloquent; | |
use Illuminate\Database\Eloquent\Model; | |
/** | |
* Interface EloquentRepositoryInterface | |
* @package App\Repositories\Eloquent | |
*/ |
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\Providers; | |
use App\Repositories\CategoryRepositoryInterface; | |
use App\Repositories\Eloquent\BaseRepository; | |
use App\Repositories\Eloquent\CategoryRepository; | |
use App\Repositories\Eloquent\EloquentRepositoryInterface; | |
use App\Repositories\Eloquent\QuoteRepository; | |
use App\Repositories\QuoteRepositoryInterface; |
OlderNewer