public function getImage($key = ImageSet::ORIGINAL)
    {
        if (is_bool($key)) {
            $key = $key ? ImageSet::THUMBNAIL : ImageSet::ORIGINAL;
        }

        return $this->getImages()->get($key, false) ?: $this->image;
    }
public function getImage($key = ImageSet::ORIGINAL)
    {
        if (is_bool($key)) {
            $key = $key ? ImageSet::THUMBNAIL : ImageSet::ORIGINAL;
        }

        return $this->getImages()->get($key, false) ?: $this->image;
    }
public function getImage ( $ key = ImageSet :: ORIGINAL ) { if ( is_bool ( $ key ) ) { $ key = $ key ? ImageSet :: THUMBNAIL : ImageSet :: ORIGINAL ; } return $ this -> getImages ( ) -> get ( $ key , false ) ? : $ this -> image ; }
Gets the Logo of an organization

@param string|bool $key Key of the image to get.
If true: get Thumbnail
If false: get Original

@return OrganizationImage
@deprecated since 0.29; use $this->getImages()->get()
@since 0.29 modified to return images from the image set for compatibility reasons
Gets the Logo of an organization