public function afterSave()
    {
        $handler = $this->get('metadata')->get('handler');
        if (class_exists($handler)) {
            $handler = new $handler();

            return $handler->afterSave($this);
        }
    }
public function afterSave()
    {
        $handler = $this->get('metadata')->get('handler');
        if (class_exists($handler)) {
            $handler = new $handler();

            return $handler->afterSave($this);
        }
    }
public function afterSave ( ) { $ handler = $ this -> get ( 'metadata' ) -> get ( 'handler' ) ; if ( class_exists ( $ handler ) ) { $ handler = new $ handler ( ) ; return $ handler -> afterSave ( $ this ) ; } }
Triggers entity's afterSave callback.

@return void
Triggers entity s afterSave callback .