From 8826f0f198a5e5bd331653b6ffb41bf820b19510 Mon Sep 17 00:00:00 2001 From: Martin Jonas Date: Sat, 30 Apr 2016 10:01:16 +0200 Subject: [PATCH] Fixed autoload for VimeoPlayerControlFactory --- src/MetisFW/Vimeo/UI/VimeoPlayerControl.php | 14 -------------- .../Vimeo/UI/VimeoPlayerControlFactory.php | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 14 deletions(-) create mode 100644 src/MetisFW/Vimeo/UI/VimeoPlayerControlFactory.php diff --git a/src/MetisFW/Vimeo/UI/VimeoPlayerControl.php b/src/MetisFW/Vimeo/UI/VimeoPlayerControl.php index aff522f..68de39d 100644 --- a/src/MetisFW/Vimeo/UI/VimeoPlayerControl.php +++ b/src/MetisFW/Vimeo/UI/VimeoPlayerControl.php @@ -6,20 +6,6 @@ use MetisFW\Vimeo\Utils\VimeoPlayerUrl; use Nette\Application\UI\Control; -/** - * @return VimeoPlayerControl - */ -interface VimeoPlayerControlFactory { - - /** - * @param $videoId - * @param array $playerParameters - * @return VimeoPlayerControl - */ - function create($videoId, array $playerParameters = array()); - -} - class VimeoPlayerControl extends Control { /** diff --git a/src/MetisFW/Vimeo/UI/VimeoPlayerControlFactory.php b/src/MetisFW/Vimeo/UI/VimeoPlayerControlFactory.php new file mode 100644 index 0000000..64b12d0 --- /dev/null +++ b/src/MetisFW/Vimeo/UI/VimeoPlayerControlFactory.php @@ -0,0 +1,17 @@ +