isPortrait() => self::PORTRAIT, $size->isLandscape() => self::LANDSCAPE, default => self::SQUARE, }; } }