public function properties($map)
    {
        foreach($map as $name=>$type)
            $this->_properties[$name] = new Property($name, $type);

        return $this;
    }
public function properties($map)
    {
        foreach($map as $name=>$type)
            $this->_properties[$name] = new Property($name, $type);

        return $this;
    }
public function properties ( $ map ) { foreach ( $ map as $ name => $ type ) $ this -> _properties [ $ name ] = new Property ( $ name , $ type ) ; return $ this ; }
Sets the schema properties
chainable
Sets the schema properties chainable