-
-
Save forcequit/2f071f3502ed39c7d4b3331c6ef7da1a to your computer and use it in GitHub Desktop.
This file contains hidden or 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\Workflows\ConvertVideo; | |
use Workflow\ActivityStub; | |
use Workflow\Workflow; | |
class ConvertVideoWorkflow extends Workflow | |
{ | |
public function execute() | |
{ | |
yield ActivityStub::make( | |
ConvertVideoWebmActivity::class, | |
storage_path('app/oceans.mp4'), | |
storage_path('app/oceans.webm'), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment