src/Charcoal/Property/ModelStructureProperty.php
public function structureProto()
    {
        if ($this->structurePrototype === null) {
            $model = $this->createStructureModel();

            if ($model instanceof DescribableInterface) {
                $model->setMetadata($this->structureMetadata());
            }

            $this->structurePrototype = $model;
        }

        return $this->structurePrototype;
    }
public function structureProto()
    {
        if ($this->structurePrototype === null) {
            $model = $this->createStructureModel();

            if ($model instanceof DescribableInterface) {
                $model->setMetadata($this->structureMetadata());
            }

            $this->structurePrototype = $model;
        }

        return $this->structurePrototype;
    }
public function structureProto ( ) { if ( $ this -> structurePrototype === null ) { $ model = $ this -> createStructureModel ( ) ; if ( $ model instanceof DescribableInterface ) { $ model -> setMetadata ( $ this -> structureMetadata ( ) ) ; } $ this -> structurePrototype = $ model ; } return $ this -> structurePrototype ; }
Retrieve a singleton of the structure model for prototyping.

@return ArrayAccess|DescribableInterface
Retrieve a singleton of the structure model for prototyping .