add_controls(); } /** * Add controls. */ abstract protected function add_controls(); /** * Add the control. * * @param Controls\Control_Base $control the control object. */ public function add_control( Control_Base $control ) { array_push( $this->controls, $control ); } /** * Get the controls. * * @return array */ public function get_controls() { return $this->controls; } }