public function __construct($width = null, $options = null) { parent::__construct($options); $this->width = intval($width); }