Move streamers into Services

This commit is contained in:
Phan An 2017-04-20 19:20:32 +08:00
parent 88b7baa0c1
commit 3049804811
8 changed files with 12 additions and 12 deletions

View file

@ -3,11 +3,11 @@
namespace App\Http\Controllers\API;
use App\Http\Requests\API\SongUpdateRequest;
use App\Http\Streamers\PHPStreamer;
use App\Http\Streamers\S3Streamer;
use App\Http\Streamers\TranscodingStreamer;
use App\Http\Streamers\XAccelRedirectStreamer;
use App\Http\Streamers\XSendFileStreamer;
use App\Services\Streamers\PHPStreamer;
use App\Services\Streamers\S3Streamer;
use App\Services\Streamers\TranscodingStreamer;
use App\Services\Streamers\XAccelRedirectStreamer;
use App\Services\Streamers\XSendFileStreamer;
use App\Models\Song;
use YouTube;

View file

@ -1,6 +1,6 @@
<?php
namespace App\Http\Streamers;
namespace App\Services\Streamers;
class PHPStreamer extends Streamer implements StreamerInterface
{

View file

@ -1,6 +1,6 @@
<?php
namespace App\Http\Streamers;
namespace App\Services\Streamers;
class S3Streamer extends Streamer implements StreamerInterface
{

View file

@ -1,6 +1,6 @@
<?php
namespace App\Http\Streamers;
namespace App\Services\Streamers;
use App\Models\Song;

View file

@ -1,6 +1,6 @@
<?php
namespace App\Http\Streamers;
namespace App\Services\Streamers;
interface StreamerInterface
{

View file

@ -1,6 +1,6 @@
<?php
namespace App\Http\Streamers;
namespace App\Services\Streamers;
use App\Models\Song;

View file

@ -1,6 +1,6 @@
<?php
namespace App\Http\Streamers;
namespace App\Services\Streamers;
use App\Models\Setting;

View file

@ -1,6 +1,6 @@
<?php
namespace App\Http\Streamers;
namespace App\Services\Streamers;
class XSendFileStreamer extends Streamer implements StreamerInterface
{