View RedisLock.php
<?php | |
namespace Illuminate\Cache; | |
use Redis; | |
use RedisCluster; | |
use UnexpectedValueException; | |
class RedisLock extends Lock | |
{ |
View Optional.php
<?php | |
namespace App\Support; | |
class Optional | |
{ | |
/** | |
* The target being transformed. | |
* Use _ prefix to avoid namespace conflict on __get() | |
* |
View Data_dot_data_has.php
<?php | |
// app/helpers.php | |
// Why don't you let us order files, Gist? | |
use Illuminate\Support\Arr; | |
if (!function_exists('data_dot')) { | |
/** | |
* Flatten a multi-dimensional object with dots. |