Example #1
0
 /**
  * Check if this loco class has a cover image
  * @since Version 3.9
  * @return boolean
  */
 public function hasCoverImage()
 {
     return Utility\CoverImageUtility::hasCoverImage($this);
 }
Example #2
0
 /**
  * Get the cover photo for this locomotive class
  * @since Version 3.9
  * @return array
  * @todo Set the AssetProvider (requires creating AssetProvider)
  */
 public function getCoverImage()
 {
     return Utility\CoverImageUtility::getCoverImageOfObject($this);
 }