@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Created by PhpStorm. |
|
| 4 | - * User: Ricardo Fiorani |
|
| 5 | - * Date: 29/08/2015 |
|
| 6 | - * Time: 19:24. |
|
| 7 | - */ |
|
| 3 | + * Created by PhpStorm. |
|
| 4 | + * User: Ricardo Fiorani |
|
| 5 | + * Date: 29/08/2015 |
|
| 6 | + * Time: 19:24. |
|
| 7 | + */ |
|
| 8 | 8 | namespace RicardoFiorani\Adapter\Youtube\Factory; |
| 9 | 9 | |
| 10 | 10 | use RicardoFiorani\Adapter\Factory\CallableServiceAdapterFactoryInterface; |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Created by PhpStorm. |
|
| 4 | - * User: Ricardo Fiorani |
|
| 5 | - * Date: 31/08/2015 |
|
| 6 | - * Time: 21:07. |
|
| 7 | - */ |
|
| 3 | + * Created by PhpStorm. |
|
| 4 | + * User: Ricardo Fiorani |
|
| 5 | + * Date: 31/08/2015 |
|
| 6 | + * Time: 21:07. |
|
| 7 | + */ |
|
| 8 | 8 | namespace RicardoFiorani\Container\Factory; |
| 9 | 9 | |
| 10 | 10 | use RicardoFiorani\Container\ServicesContainer; |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | { |
| 14 | 14 | public function __invoke() |
| 15 | 15 | { |
| 16 | - $configFile = require __DIR__.'/../../../config/config.php'; |
|
| 16 | + $configFile = require __DIR__ . '/../../../config/config.php'; |
|
| 17 | 17 | $servicesContainer = new ServicesContainer($configFile); |
| 18 | 18 | |
| 19 | 19 | return $servicesContainer; |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Created by PhpStorm. |
|
| 4 | - * User: Ricardo Fiorani |
|
| 5 | - * Date: 31/08/2015 |
|
| 6 | - * Time: 21:06. |
|
| 7 | - */ |
|
| 3 | + * Created by PhpStorm. |
|
| 4 | + * User: Ricardo Fiorani |
|
| 5 | + * Date: 31/08/2015 |
|
| 6 | + * Time: 21:06. |
|
| 7 | + */ |
|
| 8 | 8 | namespace RicardoFiorani\Container; |
| 9 | 9 | |
| 10 | 10 | use RicardoFiorani\Adapter\Factory\CallableServiceAdapterFactoryInterface; |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Created by PhpStorm. |
|
| 4 | - * User: Ricardo Fiorani |
|
| 5 | - * Date: 29/08/2015 |
|
| 6 | - * Time: 23:28. |
|
| 7 | - */ |
|
| 3 | + * Created by PhpStorm. |
|
| 4 | + * User: Ricardo Fiorani |
|
| 5 | + * Date: 29/08/2015 |
|
| 6 | + * Time: 23:28. |
|
| 7 | + */ |
|
| 8 | 8 | namespace RicardoFiorani\Exception; |
| 9 | 9 | |
| 10 | 10 | use Exception; |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Created by PhpStorm. |
|
| 4 | - * User: Ricardo Fiorani |
|
| 5 | - * Date: 30/08/2015 |
|
| 6 | - * Time: 00:55. |
|
| 7 | - */ |
|
| 3 | + * Created by PhpStorm. |
|
| 4 | + * User: Ricardo Fiorani |
|
| 5 | + * Date: 30/08/2015 |
|
| 6 | + * Time: 00:55. |
|
| 7 | + */ |
|
| 8 | 8 | namespace RicardoFiorani\Renderer; |
| 9 | 9 | |
| 10 | 10 | class DefaultRenderer implements EmbedRendererInterface |
@@ -25,6 +25,6 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | public function render($embedUrl, $width, $height) |
| 27 | 27 | { |
| 28 | - return '<iframe width="'.$width.'" height="'.$height.'" src="'.addslashes($embedUrl).'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'; |
|
| 28 | + return '<iframe width="' . $width . '" height="' . $height . '" src="' . addslashes($embedUrl) . '" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'; |
|
| 29 | 29 | } |
| 30 | 30 | } |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Created by PhpStorm. |
|
| 4 | - * User: Ricardo Fiorani |
|
| 5 | - * Date: 30/08/2015 |
|
| 6 | - * Time: 00:54. |
|
| 7 | - */ |
|
| 3 | + * Created by PhpStorm. |
|
| 4 | + * User: Ricardo Fiorani |
|
| 5 | + * Date: 30/08/2015 |
|
| 6 | + * Time: 00:54. |
|
| 7 | + */ |
|
| 8 | 8 | namespace RicardoFiorani\Renderer; |
| 9 | 9 | |
| 10 | 10 | interface EmbedRendererInterface |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Created by PhpStorm. |
|
| 4 | - * User: Ricardo Fiorani |
|
| 5 | - * Date: 30/08/2015 |
|
| 6 | - * Time: 01:05. |
|
| 7 | - */ |
|
| 3 | + * Created by PhpStorm. |
|
| 4 | + * User: Ricardo Fiorani |
|
| 5 | + * Date: 30/08/2015 |
|
| 6 | + * Time: 01:05. |
|
| 7 | + */ |
|
| 8 | 8 | namespace RicardoFiorani\Renderer\Factory; |
| 9 | 9 | |
| 10 | 10 | use RicardoFiorani\Renderer\DefaultRenderer; |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Created by PhpStorm. |
|
| 4 | - * User: Ricardo Fiorani |
|
| 5 | - * Date: 30/08/2015 |
|
| 6 | - * Time: 01:09. |
|
| 7 | - */ |
|
| 3 | + * Created by PhpStorm. |
|
| 4 | + * User: Ricardo Fiorani |
|
| 5 | + * Date: 30/08/2015 |
|
| 6 | + * Time: 01:09. |
|
| 7 | + */ |
|
| 8 | 8 | namespace RicardoFiorani\Renderer\Factory; |
| 9 | 9 | |
| 10 | 10 | use RicardoFiorani\Renderer\EmbedRendererInterface; |