Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function __construct($type)
 {
     parent::__construct($type);
 }
Esempio n. 2
0
 /**
  * Implements __construct().
  *
  * @param string $type
  *   The type of gradient; e.g., linear_gradient.
  * @param array|\ChapterThree\AppleNewsAPI\Document\Styles\Fills\Gradients\ColorStop $color_stops
  *   URL.
  */
 public function __construct($type, array $color_stops)
 {
     parent::__construct($type);
     $this->setColorStops($color_stops);
 }