GDS\Schema::addProperty PHP Méthode

addProperty() public méthode

Add a field to the known field array
public addProperty ( $str_name, $int_type = self::PROPERTY_STRING, boolean $bol_index = TRUE )
$str_name
$int_type
$bol_index boolean
    public function addProperty($str_name, $int_type = self::PROPERTY_STRING, $bol_index = TRUE)
    {
        $this->arr_defined_properties[$str_name] = ['type' => $int_type, 'index' => $bol_index];
        return $this;
    }