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\Http\View\Composers; | |
use Illuminate\Contracts\Auth\Authenticatable; | |
use Illuminate\View\View; | |
class AuthenticatedComposer | |
{ | |
/** |
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 Illuminate\Support\ServiceProvider; | |
use App\Managers\Transport\TransportManager; | |
use App\Managers\Transport\TransportContract; | |
class TransportServiceProvider extends ServiceProvider | |
{ |
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; | |
use Illuminate\Support\Facades\Log; | |
use Illuminate\Support\Facades\Auth; | |
use Illuminate\Support\Str; | |
trait HasToken | |
{ |
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\Controllers; | |
use App\Podcast; | |
use App\Http\Helpers\CachesResponses; | |
use Illuminate\Http\Request; | |
use Podcast\PodcastAnalytics\PodcastAnalytics; | |
class PodcastController 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 | |
/** | |
* 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 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 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 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; |
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
{ | |
"name": "application/project", | |
"description": "This is my root project.", | |
"require": { | |
"php": "^7.2", | |
"ext-json": "*", | |
"symfony/http-client": "5.*", | |
"symfony/console": "5.*" | |
}, | |
"autoload": { |
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 Illuminate\Support; | |
use Closure; | |
use Illuminate\Contracts\Container\Container; | |
use InvalidArgumentException; | |
abstract class Manager | |
{ |