Update AbstractWidget.php

implement interface