protected function setDefaultLabels()
    {
        $this->labels = [
            'name'                  => _x($this->many, 'Post type general name', $this->i18n),
            'singular_name'         => _x($this->one, 'Post type singular name', $this->i18n),
            'menu_name'             => _x($this->many, 'Admin Menu text', $this->i18n),
            'name_admin_bar'        => _x($this->one, 'Add New on Toolbar', $this->i18n),
            'add_new_item'          => __('Add New ' . $this->one, $this->i18n),
            'edit_item'             => __('Edit ' . $this->one, $this->i18n),
            'new_item'              => __('New ' . $this->one, $this->i18n),
            'view_item'             => __('View ' . $this->one, $this->i18n),
            'view_items'            => __('View ' . $this->many, $this->i18n),
            'search_items'          => __('Search ' . $this->many, $this->i18n),
            'not_found'             => __('No ' . strtolower($this->many) . ' found.', $this->i18n),
            'not_found_in_trash'    => __('No ' . strtolower($this->many) . ' found in Trash.', $this->i18n),
            'parent_item_colon'     => __('Parent ' . $this->many . ':', $this->i18n),
            'all_items'             => __('All ' . $this->many, $this->i18n),
            'archives'              => __($this->one . ' Archives', $this->i18n),
            'attributes'            => __($this->one . ' Attributes', $this->i18n),
            'insert_into_item'      => __('Insert into ' . strtolower($this->one), $this->i18n),
            'uploaded_to_this_item' => __('Uploaded to this ' . strtolower($this->one), $this->i18n),
            'filter_items_list'     => __('Filter ' . strtolower($this->many) . ' list', $this->i18n),
            'items_list_navigation' => __($this->many . ' list navigation', $this->i18n),
            'items_list'            => __($this->many . ' list', $this->i18n)
        ];

        return $this;
    }
protected function setDefaultLabels()
    {
        $this->labels = [
            'name'                  => _x($this->many, 'Post type general name', $this->i18n),
            'singular_name'         => _x($this->one, 'Post type singular name', $this->i18n),
            'menu_name'             => _x($this->many, 'Admin Menu text', $this->i18n),
            'name_admin_bar'        => _x($this->one, 'Add New on Toolbar', $this->i18n),
            'add_new_item'          => __('Add New ' . $this->one, $this->i18n),
            'edit_item'             => __('Edit ' . $this->one, $this->i18n),
            'new_item'              => __('New ' . $this->one, $this->i18n),
            'view_item'             => __('View ' . $this->one, $this->i18n),
            'view_items'            => __('View ' . $this->many, $this->i18n),
            'search_items'          => __('Search ' . $this->many, $this->i18n),
            'not_found'             => __('No ' . strtolower($this->many) . ' found.', $this->i18n),
            'not_found_in_trash'    => __('No ' . strtolower($this->many) . ' found in Trash.', $this->i18n),
            'parent_item_colon'     => __('Parent ' . $this->many . ':', $this->i18n),
            'all_items'             => __('All ' . $this->many, $this->i18n),
            'archives'              => __($this->one . ' Archives', $this->i18n),
            'attributes'            => __($this->one . ' Attributes', $this->i18n),
            'insert_into_item'      => __('Insert into ' . strtolower($this->one), $this->i18n),
            'uploaded_to_this_item' => __('Uploaded to this ' . strtolower($this->one), $this->i18n),
            'filter_items_list'     => __('Filter ' . strtolower($this->many) . ' list', $this->i18n),
            'items_list_navigation' => __($this->many . ' list navigation', $this->i18n),
            'items_list'            => __($this->many . ' list', $this->i18n)
        ];

        return $this;
    }
protected function setDefaultLabels ( ) { $ this -> labels = [ 'name' => _x ( $ this -> many , 'Post type general name' , $ this -> i18n ) , 'singular_name' => _x ( $ this -> one , 'Post type singular name' , $ this -> i18n ) , 'menu_name' => _x ( $ this -> many , 'Admin Menu text' , $ this -> i18n ) , 'name_admin_bar' => _x ( $ this -> one , 'Add New on Toolbar' , $ this -> i18n ) , 'add_new_item' => __ ( 'Add New ' . $ this -> one , $ this -> i18n ) , 'edit_item' => __ ( 'Edit ' . $ this -> one , $ this -> i18n ) , 'new_item' => __ ( 'New ' . $ this -> one , $ this -> i18n ) , 'view_item' => __ ( 'View ' . $ this -> one , $ this -> i18n ) , 'view_items' => __ ( 'View ' . $ this -> many , $ this -> i18n ) , 'search_items' => __ ( 'Search ' . $ this -> many , $ this -> i18n ) , 'not_found' => __ ( 'No ' . strtolower ( $ this -> many ) . ' found.' , $ this -> i18n ) , 'not_found_in_trash' => __ ( 'No ' . strtolower ( $ this -> many ) . ' found in Trash.' , $ this -> i18n ) , 'parent_item_colon' => __ ( 'Parent ' . $ this -> many . ':' , $ this -> i18n ) , 'all_items' => __ ( 'All ' . $ this -> many , $ this -> i18n ) , 'archives' => __ ( $ this -> one . ' Archives' , $ this -> i18n ) , 'attributes' => __ ( $ this -> one . ' Attributes' , $ this -> i18n ) , 'insert_into_item' => __ ( 'Insert into ' . strtolower ( $ this -> one ) , $ this -> i18n ) , 'uploaded_to_this_item' => __ ( 'Uploaded to this ' . strtolower ( $ this -> one ) , $ this -> i18n ) , 'filter_items_list' => __ ( 'Filter ' . strtolower ( $ this -> many ) . ' list' , $ this -> i18n ) , 'items_list_navigation' => __ ( $ this -> many . ' list navigation' , $ this -> i18n ) , 'items_list' => __ ( $ this -> many . ' list' , $ this -> i18n ) ] ; return $ this ; }
Set default labels

Create an labels array and implement default singular and plural labels
@return $this
Set default labels