original_string: public function post_type_label( $singular_name, $multiple_name = '', $as_object = false ) {
  		if ( ! $multiple_name ) {
  			$multiple_name = $singular_name;
  		}
  		$labels = [
  			'name'               => $multiple_name,
  			'singular_name'      => $singular_name,
  			'add_new'            => $this->__( 'Add new' ),
  			'add_new_item'       => sprintf( $this->__( 'Add new %s' ), $singular_name ),
  			'edit_item'          => sprintf( $this->__( 'Edit %s' ), $singular_name ),
  			'new_item'           => sprintf( $this->__( 'New %s' ), $singular_name ),
  			'view_item'          => sprintf( $this->__( 'Vew %s' ), $singular_name ),
  			'search_items'       => sprintf( $this->__( 'Search %s' ), $multiple_name ),
  			'not_found'          => sprintf( $this->__( 'No %s found.' ), $multiple_name ),
  			'not_found_in_trash' => sprintf( $this->__( 'No %s in trash.' ), $singular_name ),
  			'parent_item_colon'  => sprintf( $this->__( 'Parent %s:' ), $singular_name ),
  			'all_items'          => sprintf( $this->__( 'All %s' ), $multiple_name ),
  			'menu_name'          => $singular_name,
  			'name_admin_bar'     => $singular_name,
  		];
  
  		return $as_object ? (object) $labels : $labels;
  	}
code: public function post_type_label( $singular_name, $multiple_name = '', $as_object = false ) {
  		if ( ! $multiple_name ) {
  			$multiple_name = $singular_name;
  		}
  		$labels = [
  			'name'               => $multiple_name,
  			'singular_name'      => $singular_name,
  			'add_new'            => $this->__( 'Add new' ),
  			'add_new_item'       => sprintf( $this->__( 'Add new %s' ), $singular_name ),
  			'edit_item'          => sprintf( $this->__( 'Edit %s' ), $singular_name ),
  			'new_item'           => sprintf( $this->__( 'New %s' ), $singular_name ),
  			'view_item'          => sprintf( $this->__( 'Vew %s' ), $singular_name ),
  			'search_items'       => sprintf( $this->__( 'Search %s' ), $multiple_name ),
  			'not_found'          => sprintf( $this->__( 'No %s found.' ), $multiple_name ),
  			'not_found_in_trash' => sprintf( $this->__( 'No %s in trash.' ), $singular_name ),
  			'parent_item_colon'  => sprintf( $this->__( 'Parent %s:' ), $singular_name ),
  			'all_items'          => sprintf( $this->__( 'All %s' ), $multiple_name ),
  			'menu_name'          => $singular_name,
  			'name_admin_bar'     => $singular_name,
  		];
  
  		return $as_object ? (object) $labels : $labels;
  	}
code_tokens: public function post_type_label ( $ singular_name , $ multiple_name = '' , $ as_object = false ) { if ( ! $ multiple_name ) { $ multiple_name = $ singular_name ; } $ labels = [ 'name' => $ multiple_name , 'singular_name' => $ singular_name , 'add_new' => $ this -> __ ( 'Add new' ) , 'add_new_item' => sprintf ( $ this -> __ ( 'Add new %s' ) , $ singular_name ) , 'edit_item' => sprintf ( $ this -> __ ( 'Edit %s' ) , $ singular_name ) , 'new_item' => sprintf ( $ this -> __ ( 'New %s' ) , $ singular_name ) , 'view_item' => sprintf ( $ this -> __ ( 'Vew %s' ) , $ singular_name ) , 'search_items' => sprintf ( $ this -> __ ( 'Search %s' ) , $ multiple_name ) , 'not_found' => sprintf ( $ this -> __ ( 'No %s found.' ) , $ multiple_name ) , 'not_found_in_trash' => sprintf ( $ this -> __ ( 'No %s in trash.' ) , $ singular_name ) , 'parent_item_colon' => sprintf ( $ this -> __ ( 'Parent %s:' ) , $ singular_name ) , 'all_items' => sprintf ( $ this -> __ ( 'All %s' ) , $ multiple_name ) , 'menu_name' => $ singular_name , 'name_admin_bar' => $ singular_name , ] ; return $ as_object ? ( object ) $ labels : $ labels ; }
docstring: Returns post type label shorthand.
  
  @param string $singular_name
  @param string $multiple_name Optional.
  @param bool $as_object
  
  @return array|\stdClass
docstring_tokens: Returns post type label shorthand .