Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Neos
Media
Domain
Model
DimensionsTrait
hasDimensions
Neos\Media\Domain\Model\DimensionsTrait::hasDimensions PHP Méthode
DimensionsTrait Trait Documentation
Afficher le fichier
Open project: neos/neos-development-collection
hasDimensions()
public
méthode
Does the asset have dimensions
public
hasDimensions
( ) :
boolean
Résultat
boolean
public function hasDimensions() { return $this->width !== null && $this->height !== null; }
DimensionsTrait
getAspectRatio
getHeight
getOrientation
getWidth
hasDimensions
isOrientationLandscape
isOrientationPortrait
isOrientationSquare