public function events($map)
    {
        foreach($map as $name=>$callback)
            $this->_events->register($name, $callback);

        return $this;
    }
public function events($map)
    {
        foreach($map as $name=>$callback)
            $this->_events->register($name, $callback);

        return $this;
    }
public function events ( $ map ) { foreach ( $ map as $ name => $ callback ) $ this -> _events -> register ( $ name , $ callback ) ; return $ this ; }
Sets the schema events
@chainable
Sets the schema events