protected function loadStatus(
        $enName,
        $frName,
        $name,
        $color,
        $publishedState = false,
        $initialState = false,
        $blockedEdition = false,
        $outOfWorkflow = false,
        $autoPublishFromState = false,
        $autoUnpublishToState = false,
        $translationState = false
    ) {
        $value = new Status();
        $value->setName($name);
        $value->setPublishedState($publishedState);
        $value->setInitialState($initialState);
        $value->setAutoPublishFromState($autoPublishFromState);
        $value->setAutoUnpublishToState($autoUnpublishToState);
        $value->addLabel('en', $enName);
        $value->addLabel('fr', $frName);
        $value->setDisplayColor($color);
        $value->setBlockedEdition($blockedEdition);
        $value->setOutOfWorkflow($outOfWorkflow);
        $value->setTranslationState($translationState);

        $this->addReference('status-' . $name, $value);

        return $value;
    }
protected function loadStatus(
        $enName,
        $frName,
        $name,
        $color,
        $publishedState = false,
        $initialState = false,
        $blockedEdition = false,
        $outOfWorkflow = false,
        $autoPublishFromState = false,
        $autoUnpublishToState = false,
        $translationState = false
    ) {
        $value = new Status();
        $value->setName($name);
        $value->setPublishedState($publishedState);
        $value->setInitialState($initialState);
        $value->setAutoPublishFromState($autoPublishFromState);
        $value->setAutoUnpublishToState($autoUnpublishToState);
        $value->addLabel('en', $enName);
        $value->addLabel('fr', $frName);
        $value->setDisplayColor($color);
        $value->setBlockedEdition($blockedEdition);
        $value->setOutOfWorkflow($outOfWorkflow);
        $value->setTranslationState($translationState);

        $this->addReference('status-' . $name, $value);

        return $value;
    }
@param string $enName
@param string $frName
@param string $name
@param string $color
@param bool   $publishedState
@param bool   $initialState
@param bool   $blockedEdition
@param bool   $outOfWorkflow
@param bool   $autoPublishFromState
@param bool   $autoUnpublishToState
@param bool   $translationState

@return Status