/**
  * @param string $name
  */
 public function __construct($name)
 {
     parent::__construct();
     $this->name = $name;
 }
Esempio n. 2
0
 /**
  * Construct
  * @param string $sizeName
  * @param bool $cropped
  */
 public function __construct($sizeName = null)
 {
     parent::__construct();
     if (!empty($sizeName)) {
         $this->setName($sizeName);
     }
 }
Esempio n. 3
0
 /**
  * Constructor
  * @param string $media
  */
 public function __construct($media)
 {
     parent::__construct();
     $this->setMedia($media);
 }