Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 310 and 400] [Versions 311 and 400] [Versions 39 and 400]

   1  <?php
   2  
   3  namespace PhpOffice\PhpSpreadsheet\Shared\Escher\DggContainer\BstoreContainer\BSE;
   4  
   5  use PhpOffice\PhpSpreadsheet\Shared\Escher\DggContainer\BstoreContainer\BSE;
   6  
   7  class Blip
   8  {
   9      /**
  10       * The parent BSE.
  11       *
  12       * @var BSE
  13       */
  14      private $parent;
  15  
  16      /**
  17       * Raw image data.
  18       *
  19       * @var string
  20       */
  21      private $data;
  22  
  23      /**
  24       * Get the raw image data.
  25       *
  26       * @return string
  27       */
  28      public function getData()
  29      {
  30          return $this->data;
  31      }
  32  
  33      /**
  34       * Set the raw image data.
  35       *
  36       * @param string $data
  37       */
  38      public function setData($data): void
  39      {
  40          $this->data = $data;
  41      }
  42  
  43      /**
  44       * Set parent BSE.
  45       */
  46      public function setParent(BSE $parent): void
  47      {
  48          $this->parent = $parent;
  49      }
  50  
  51      /**
  52       * Get parent BSE.
  53       */
  54      public function getParent(): BSE
  55      {
  56          return $this->parent;
  57      }
  58  }