File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " renderforest/sdk-php" ,
33 "description" : " Renderforest SDK for PHP" ,
4- "version" : " 0.5.0 " ,
4+ "version" : " 0.5.1 " ,
55 "homepage" : " https://github.com/renderforest/renderforest-sdk-php" ,
66 "keywords" : [
77 " animation maker" ,
Original file line number Diff line number Diff line change 4848
4949$ projectData
5050 ->getSounds ()
51+ ->removeSounds ()
5152 ->add ($ sound );
5253
5354$ renderforestClient ->updateProjectData ($ duplicatedProject , $ projectData );
Original file line number Diff line number Diff line change @@ -47,6 +47,16 @@ public function add(AbstractSound $sound): SoundCollection
4747 return $ this ;
4848 }
4949
50+ /**
51+ * @return SoundCollection
52+ */
53+ public function removeSounds (): SoundCollection
54+ {
55+ $ this ->sounds = [];
56+
57+ return $ this ;
58+ }
59+
5060 /**
5161 * @param string $soundCollectionJson
5262 * @throws \Exception
You can’t perform that action at this time.
0 commit comments