src/Models/Article.php
public function getAllImages()
    {
        $images = new ArrayList();
        if ($this->hasHeroImage()) {
            $images->push($this->HeroImage());
        }
        if ($this->hasGalleryImages()) {
            $images->merge($this->ImageGallery());
        }
        $images->removeDuplicates('HailID');

        return $images;
    }
public function getAllImages()
    {
        $images = new ArrayList();
        if ($this->hasHeroImage()) {
            $images->push($this->HeroImage());
        }
        if ($this->hasGalleryImages()) {
            $images->merge($this->ImageGallery());
        }
        $images->removeDuplicates('HailID');

        return $images;
    }
public function getAllImages ( ) { $ images = new ArrayList ( ) ; if ( $ this -> hasHeroImage ( ) ) { $ images -> push ( $ this -> HeroImage ( ) ) ; } if ( $ this -> hasGalleryImages ( ) ) { $ images -> merge ( $ this -> ImageGallery ( ) ) ; } $ images -> removeDuplicates ( 'HailID' ) ; return $ images ; }
List of this Article's images

Includes the Hero Image

@return ArrayList
List of this Article s images