\r
interface ISimfileStepByStepBuilder_With_Title\r
{\r
- public function With_Artist(IArtist $artist);\r
-}\r
-\r
-interface ISimfileStepByStepBuilder_With_Artist\r
-{\r
+ public function With_Artist(IArtist $artist = null);\r
public function With_Uploader(IUser $uploader);\r
}\r
\r
\r
class SimfileStepByStepBuilder_With_Title extends AbstractSimfileStepByStepBuilder implements ISimfileStepByStepBuilder_With_Title\r
{ \r
- public function With_Artist(IArtist $artist)\r
+ public function With_Artist(IArtist $artist = null)\r
{\r
$this->_simfileBuilder->With_Artist($artist);\r
- return new SimfileStepByStepBuilder_With_Artist($this->_simfileBuilder);\r
+ return $this;\r
}\r
-}\r
-\r
-class SimfileStepByStepBuilder_With_Artist extends AbstractSimfileStepByStepBuilder implements ISimfileStepByStepBuilder_With_Artist\r
-{ \r
+ \r
public function With_Uploader(IUser $uploader)\r
{\r
$this->_simfileBuilder->With_Uploader($uploader);\r