reflection = new \ReflectionClass( $this ); } /** * @since 1.7.0 * @access public */ public function add_component( $id, $instance ) { $this->components[ $id ] = $instance; } /** * @since 1.7.0 * @access public */ public function get_component( $id ) { if ( isset( $this->components[ $id ] ) ) { return $this->components[ $id ]; } return false; } }