src/Charcoal/Property/ModelStructureProperty.php
protected function structureModelFactory()
    {
        if (!isset($this->structureModelFactory)) {
            throw new RuntimeException(sprintf(
                'Model Factory is not defined for "%s"',
                get_class($this)
            ));
        }

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

        return $this->structureModelFactory;
    }
protected function structureModelFactory ( ) { if ( ! isset ( $ this -> structureModelFactory ) ) { throw new RuntimeException ( sprintf ( 'Model Factory is not defined for "%s"' , get_class ( $ this ) ) ) ; } return $ this -> structureModelFactory ; }
Retrieve the structure model factory.

@throws RuntimeException If the model factory was not previously set.
@return FactoryInterface
Retrieve the structure model factory .