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