public function initDefaultProperties()
    {
        if (!empty($this->schema->properties)) {
            foreach ($this->schema->properties as $property_name => $property) {
                if ($this->setPropertyDefaultValue($property)) {
                    $this->property_values->$property_name = $this->getFactory()->create($property, $this->schema_path);
                }
            }
        }
    }
public function initDefaultProperties()
    {
        if (!empty($this->schema->properties)) {
            foreach ($this->schema->properties as $property_name => $property) {
                if ($this->setPropertyDefaultValue($property)) {
                    $this->property_values->$property_name = $this->getFactory()->create($property, $this->schema_path);
                }
            }
        }
    }
public function initDefaultProperties ( ) { if ( ! empty ( $ this -> schema -> properties ) ) { foreach ( $ this -> schema -> properties as $ property_name => $ property ) { if ( $ this -> setPropertyDefaultValue ( $ property ) ) { $ this -> property_values -> $ property_name = $ this -> getFactory ( ) -> create ( $ property , $ this -> schema_path ) ; } } } }
Instantiate any properties which have default values.
Instantiate any properties which have default values .