Sulu\Bundle\MediaBundle\Entity\FormatOptions::getCropWidth PHP Method

getCropWidth() public method

Get cropWidth.
public getCropWidth ( ) : integer
return integer
    public function getCropWidth()
    {
        return $this->cropWidth;
    }

Usage Example

Example #1
0
 /**
  * Converts a given entity to its array representation.
  *
  * @param FormatOptions $formatOptions
  *
  * @return array
  */
 private function entityToArray(FormatOptions $formatOptions)
 {
     return ['cropX' => $formatOptions->getCropX(), 'cropY' => $formatOptions->getCropY(), 'cropWidth' => $formatOptions->getCropWidth(), 'cropHeight' => $formatOptions->getCropHeight()];
 }
All Usage Examples Of Sulu\Bundle\MediaBundle\Entity\FormatOptions::getCropWidth