Neos\Media\Domain\Model\ThumbnailConfiguration::getHeight PHP Метод

getHeight() публичный Метод

public getHeight ( ) : integer
Результат integer
    public function getHeight()
    {
        if ($this->height !== null) {
            return $this->height;
        }
        if ($this->behaviourFlag === '1.2') {
            // @deprecated since 2.0, simulate the behaviour of 1.2
            if ($this->width === null && $this->isCroppingAllowed() && $this->getMaximumWidth() !== null && $this->getMaximumHeight() !== null) {
                $this->logDeprecation();
                return $this->getMaximumHeight();
            }
        }
        return null;
    }