Pack entity builder stuff. Not tested yet.
[rock.divinelegy.git] / Domain / Entities / StepMania / SimfileStepByStepBuilder.php
index dfc5cbb..8f03a2f 100644 (file)
@@ -2,7 +2,6 @@
 \r
 namespace Domain\Entities\StepMania;\r
 \r
-use Domain\ConstantsAndTypes\SIMFILE_CONSTANT;\r
 use Domain\VOs\StepMania\IArtist;\r
 use Domain\VOs\StepMania\IBPM;\r
 use Domain\Entities\StepMania\ISimfileBuilder;\r
@@ -21,7 +20,7 @@ interface ISimfileStepByStepBuilder_With_Title
 \r
 interface ISimfileStepByStepBuilder_With_Artist\r
 {\r
-    public function With_Uploader(IUser $uploader); //TODO: Make user object\r
+    public function With_Uploader(IUser $uploader);\r
 }\r
 \r
 interface ISimfileStepByStepBuilder_With_Uploader\r
@@ -76,7 +75,8 @@ abstract class AbstractSimfileStepByStepBuilder
 \r
 class SimfileStepByStepBuilder extends AbstractSimfileStepByStepBuilder implements ISimfileStepByStepBuilder\r
 {\r
-    public function With_Title($title) {\r
+    public function With_Title($title)\r
+    {\r
         $this->_simfileBuilder->With_Title($title);\r
         return new SimfileStepByStepBuilder_With_Title($this->_simfileBuilder);\r
     }\r
@@ -102,7 +102,8 @@ class SimfileStepByStepBuilder_With_Artist extends AbstractSimfileStepByStepBuil
 \r
 class SimfileStepByStepBuilder_With_Uploader extends AbstractSimfileStepByStepBuilder implements ISimfileStepByStepBuilder_With_Uploader\r
 {\r
-    public function With_BPM(IBPM $bpm) {\r
+    public function With_BPM(IBPM $bpm)\r
+    {\r
         $this->_simfileBuilder->With_BPM($bpm);\r
         return new SimfileStepByStepBuilder_With_BPM($this->_simfileBuilder);\r
     }\r
@@ -110,7 +111,8 @@ class SimfileStepByStepBuilder_With_Uploader extends AbstractSimfileStepByStepBu
 \r
 class SimfileStepByStepBuilder_With_BPM extends AbstractSimfileStepByStepBuilder implements ISimfileStepByStepBuilder_With_BPM\r
 {\r
-    public function With_BpmChanges($const) {\r
+    public function With_BpmChanges($const)\r
+    {\r
         $this->_simfileBuilder->With_BpmChanges($const);\r
         return new SimfileStepByStepBuilder_With_BpmChanges($this->_simfileBuilder);\r
     }\r
@@ -126,7 +128,8 @@ class SimfileStepByStepBuilder_With_BpmChanges extends AbstractSimfileStepByStep
 \r
 class SimfileStepByStepBuilder_With_Stops extends AbstractSimfileStepByStepBuilder implements ISimfileStepByStepBuilder_With_Stops\r
 {\r
-    public function With_FgChanges($const) {\r
+    public function With_FgChanges($const)\r
+    {\r
         $this->_simfileBuilder->With_FgChanges($const);\r
         return new SimfileStepByStepBuilder_With_FgChanges($this->_simfileBuilder);\r
     }\r
@@ -134,7 +137,8 @@ class SimfileStepByStepBuilder_With_Stops extends AbstractSimfileStepByStepBuild
 \r
 class SimfileStepByStepBuilder_With_FgChanges extends AbstractSimfileStepByStepBuilder implements ISimfileStepByStepBuilder_With_FgChanges\r
 {\r
-    public function With_BgChanges($const) {\r
+    public function With_BgChanges($const)\r
+    {\r
         $this->_simfileBuilder->With_BgChanges($const);\r
         return new SimfileStepByStepBuilder_With_BgChanges($this->_simfileBuilder);\r
     }\r
@@ -142,7 +146,8 @@ class SimfileStepByStepBuilder_With_FgChanges extends AbstractSimfileStepByStepB
 \r
 class SimfileStepByStepBuilder_With_BgChanges extends AbstractSimfileStepByStepBuilder implements ISimfileStepByStepBuilder_With_BgChanges\r
 {\r
-    public function With_Steps(array $steps) {\r
+    public function With_Steps(array $steps)\r
+    {\r
         $this->_simfileBuilder->With_Steps($steps);\r
         return new SimfileStepByStepBuilder_With_Steps($this->_simfileBuilder);\r
     }\r
@@ -150,17 +155,20 @@ class SimfileStepByStepBuilder_With_BgChanges extends AbstractSimfileStepByStepB
 \r
 class SimfileStepByStepBuilder_With_Steps extends AbstractSimfileStepByStepBuilder implements ISimfileStepByStepBuilder_With_Steps\r
 {\r
-    public function With_Banner(IFile $banner) {\r
+    public function With_Banner(IFile $banner)\r
+    {\r
         $this->_simfileBuilder->With_Banner($banner);\r
         return new SimfileStepByStepBuilder_With_Steps($this->_simfileBuilder);\r
     }\r
     \r
-    public function With_Simfile(IFile $simfile) {\r
+    public function With_Simfile(IFile $simfile)\r
+    {\r
         $this->_simfileBuilder->With_Simfile($simfile);\r
         return new SimfileStepByStepBuilder_With_Steps($this->_simfileBuilder);\r
     }\r
     \r
-    public function build() {\r
+    public function build()\r
+    {\r
         return $this->_simfileBuilder\r
                     ->build();\r
     }\r