src/types/class-papi-entry-type.php
public function setup() {
		add_action( 'in_admin_header', [$this, 'add_help_tabs'] );
		add_filter( 'screen_options_show_screen', function () {
			return $this->show_screen_options;
		} );

		// @codeCoverageIgnoreStart
		if ( ! method_exists( $this, 'register' ) ) {
			return;
		}
		// @codeCoverageIgnoreEnd

		$this->register();

		foreach ( $this->get_boxes() as $box ) {
			new Papi_Admin_Meta_Box( $box );
		}
	}
public function setup() {
		add_action( 'in_admin_header', [$this, 'add_help_tabs'] );
		add_filter( 'screen_options_show_screen', function () {
			return $this->show_screen_options;
		} );

		// @codeCoverageIgnoreStart
		if ( ! method_exists( $this, 'register' ) ) {
			return;
		}
		// @codeCoverageIgnoreEnd

		$this->register();

		foreach ( $this->get_boxes() as $box ) {
			new Papi_Admin_Meta_Box( $box );
		}
	}
Setup entry type.