src/Organizer/Organizer.php
public static function create(
        $id,
        Language $mainLanguage,
        Url $website,
        Title $title
    ) {
        $organizer = new self();

        $organizer->apply(
            new OrganizerCreatedWithUniqueWebsite($id, $mainLanguage, $website, $title)
        );

        return $organizer;
    }
public static function create(
        $id,
        Language $mainLanguage,
        Url $website,
        Title $title
    ) {
        $organizer = new self();

        $organizer->apply(
            new OrganizerCreatedWithUniqueWebsite($id, $mainLanguage, $website, $title)
        );

        return $organizer;
    }
public static function create ( $ id , Language $ mainLanguage , Url $ website , Title $ title ) { $ organizer = new self ( ) ; $ organizer -> apply ( new OrganizerCreatedWithUniqueWebsite ( $ id , $ mainLanguage , $ website , $ title ) ) ; return $ organizer ; }
Factory method to create a new Organizer.

@param string $id
@param Language $mainLanguage
@param Url $website
@param Title $title
@return Organizer
Factory method to create a new Organizer .