From fb08416eb809afc0561db77e49d5b9feac841746 Mon Sep 17 00:00:00 2001 From: overwolf Date: Sat, 25 Jun 2022 13:48:29 +0200 Subject: [PATCH] [FEATURE] create command for update title --- .idea/workspace.xml | 75 +++++++++++++++++++ .../Update/VideoTitleUpdaterCommand.php | 32 ++++++++ 2 files changed, 107 insertions(+) create mode 100644 .idea/workspace.xml create mode 100644 src/Mooc/Videos/Application/Update/VideoTitleUpdaterCommand.php diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 000000000..d74b75e9b --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,75 @@ + + + + + + + + + $PROJECT_DIR$/composer.json + + + + + + + + + + + { + "keyToString": { + "RunOnceActivity.OpenProjectViewOnStart": "true", + "RunOnceActivity.ShowReadmeOnStart": "true", + "WebServerToolWindowFactoryState": "false", + "settings.editor.selected.configurable": "fileTemplates" + } +} + + + + + + + + + + + + + + + 1655834783136 + + + 1656154571540 + + + + + + \ No newline at end of file diff --git a/src/Mooc/Videos/Application/Update/VideoTitleUpdaterCommand.php b/src/Mooc/Videos/Application/Update/VideoTitleUpdaterCommand.php new file mode 100644 index 000000000..b69e25774 --- /dev/null +++ b/src/Mooc/Videos/Application/Update/VideoTitleUpdaterCommand.php @@ -0,0 +1,32 @@ +id; + } + + public function title(): string + { + return $this->title; + } + + public function courseId(): string + { + return $this->courseId; + } + + +} \ No newline at end of file