[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/guzzlehttp/guzzle/src/Post/ -> PostFileInterface.php (source)

   1  <?php
   2  namespace GuzzleHttp\Post;
   3  
   4  use GuzzleHttp\Stream\StreamInterface;
   5  
   6  /**
   7   * Post file upload interface
   8   */
   9  interface PostFileInterface
  10  {
  11      /**
  12       * Get the name of the form field
  13       *
  14       * @return string
  15       */
  16      public function getName();
  17  
  18      /**
  19       * Get the full path to the file
  20       *
  21       * @return string
  22       */
  23      public function getFilename();
  24  
  25      /**
  26       * Get the content
  27       *
  28       * @return StreamInterface
  29       */
  30      public function getContent();
  31  
  32      /**
  33       * Gets all POST file headers.
  34       *
  35       * The keys represent the header name as it will be sent over the wire, and
  36       * each value is a string.
  37       *
  38       * @return array Returns an associative array of the file's headers.
  39       */
  40      public function getHeaders();
  41  }


Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1