original_string: public function cast()
  	{
  		$image = is_null($this->thumbnail)
  			? $this->imagePath()
  			: $this->thumbnailPath();
  
  
          $imginfo = getimagesize($image);
          header('Content-type: '.$imginfo['mime']);
          readfile($image);
  	}
code: public function cast()
  	{
  		$image = is_null($this->thumbnail)
  			? $this->imagePath()
  			: $this->thumbnailPath();
  
  
          $imginfo = getimagesize($image);
          header('Content-type: '.$imginfo['mime']);
          readfile($image);
  	}
code_tokens: public function cast ( ) { $ image = is_null ( $ this -> thumbnail ) ? $ this -> imagePath ( ) : $ this -> thumbnailPath ( ) ; $ imginfo = getimagesize ( $ image ) ; header ( 'Content-type: ' . $ imginfo [ 'mime' ] ) ; readfile ( $ image ) ; }
docstring: Renders the given file.
  
  @return void
docstring_tokens: Renders the given file .