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 | |
namespace App\Http\Bindings; | |
class Transport | |
{ | |
/** | |
* Resolve the route bind | |
* | |
* @param string $value |
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 | |
namespace App\Http\View\Composers; | |
use Illuminate\Contracts\Auth\Authenticatable; | |
use Illuminate\View\View; | |
class AuthenticatedComposer | |
{ | |
/** |
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 | |
namespace App\Providers; | |
use Illuminate\Support\ServiceProvider; | |
use App\Managers\Transport\TransportManager; | |
use App\Managers\Transport\TransportContract; | |
class TransportServiceProvider extends ServiceProvider | |
{ |
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 | |
namespace App; | |
use Illuminate\Support\Facades\Log; | |
use Illuminate\Support\Facades\Auth; | |
use Illuminate\Support\Str; | |
trait HasToken | |
{ |
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 | |
namespace App\Controllers; | |
use App\Podcast; | |
use App\Http\Helpers\CachesResponses; | |
use Illuminate\Http\Request; | |
use Podcast\PodcastAnalytics\PodcastAnalytics; | |
class PodcastController extends Controller |
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 | |
/** | |
* This file is generated automatically by Preloader. | |
* | |
* This script uses Composer Autoload file and `require_once` to preload the files in this | |
* list. Add this file to your `php.ini` in `opcache.preload` to preload this list into | |
* PHP at startup. Additionally, this file also includes information about Opcache. | |
* | |
* | |
* Add (or update) this line in `php.ini`: |
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
{ | |
"pre-compile": [ | |
"my-script.php", | |
"my-other-script.php" | |
], | |
"extensions": [ | |
"php" | |
], | |
"files": [ | |
"app/*", |
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 | |
/** | |
* Preloading @generated by Composer | |
*/ | |
// Autoload the classes so those can be preloaded using `require_once`. | |
require_once __DIR__.'/../autoload.php'; | |
// File list | |
$files = [ |
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 | |
// Get the list of files of the main directory and remove the dots | |
$files = array_diff(scandir(__DIR__ . '/src/'), array('..', '.')); | |
// Add the helpers file | |
$files[] = 'helpers/helpers.php'; | |
return $files; |