Skip to content

Commit 3dba37e

Browse files
committed
Refactored to ViteVariableInterface & ViteVariableTrait
Signed-off-by: Andrew Welch <andrew@nystudio107.com>
1 parent ca8417a commit 3dba37e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/variables/TranscoderVariable.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212

1313
use nystudio107\transcoder\Transcoder;
1414

15-
use nystudio107\pluginvite\variables\ViteVariable;
15+
use nystudio107\pluginvite\variables\ViteVariableInterface;
16+
use nystudio107\pluginvite\variables\ViteVariableTrait;
1617

1718
use craft\helpers\UrlHelper;
1819

@@ -21,8 +22,10 @@
2122
* @package Transcode
2223
* @since 1.0.0
2324
*/
24-
class TranscoderVariable extends ViteVariable
25+
class TranscoderVariable implements ViteVariableInterface
2526
{
27+
use ViteVariableTrait;
28+
2629
// Public Methods
2730
// =========================================================================
2831

0 commit comments

Comments
 (0)