Lines Matching defs:requestedHeight
30 protected ?int $requestedHeight = null;
71 $requestedHeight = $this->getRequestedHeight();
72 $url->addQueryParameterIfNotPresent(Dimension::HEIGHT_KEY_SHORT, $requestedHeight);
112 $requestedHeight = $this->getRequestedHeight();
114 $requestedHeight = null;
116 if ($requestedWidth !== null || $requestedHeight !== null) {
124 return media_get_token($id, $requestedWidth, $requestedHeight);
149 $requestedHeight = $tagAttributes->getValueAndRemove(Dimension::HEIGHT_KEY);
150 if ($requestedHeight === null) {
151 $requestedHeight = $tagAttributes->getValueAndRemove(Dimension::HEIGHT_KEY_SHORT);
153 if ($requestedHeight !== null) {
155 $requestedHeightInt = DataType::toInteger($requestedHeight);
157 throw new ExceptionBadArgument("The height value ($requestedHeight) is not a valid integer", FetcherImage::CANONICAL, 0, $e);
435 if ($this->requestedHeight === null) {
438 if ($this->requestedHeight === 0) {
441 return $this->requestedHeight;
500 public function setRequestedHeight(int $requestedHeight): FetcherImage
502 $this->requestedHeight = $requestedHeight;
558 if ($this->requestedHeight !== null && $this->requestedWidth !== null) {