src/Email/ManufacturableEmailTrait.php
protected function emailFactory()
    {
        if (!isset($this->emailFactory)) {
            throw new RuntimeException(sprintf(
                'Email Factory is not defined for [%s]',
                get_class($this)
            ));
        }

        return $this->emailFactory;
    }
protected function emailFactory()
    {
        if (!isset($this->emailFactory)) {
            throw new RuntimeException(sprintf(
                'Email Factory is not defined for [%s]',
                get_class($this)
            ));
        }

        return $this->emailFactory;
    }
protected function emailFactory ( ) { if ( ! isset ( $ this -> emailFactory ) ) { throw new RuntimeException ( sprintf ( 'Email Factory is not defined for [%s]' , get_class ( $ this ) ) ) ; } return $ this -> emailFactory ; }
Retrieve the email model factory.

@throws RuntimeException If the model factory is missing.
@return FactoryInterface
Retrieve the email model factory .