X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fresponse%2Fclass_ImageResponse.php;h=065cabaf480dafcdf8e189c4cc40f6898c748199;hb=201e04c759fa1d4a8f6e1992e33e533bec3b0878;hp=3d16954207dde2a8425aedb034bc3570df9b8f27;hpb=8ff2f773e29b6628131d73271f5cac9b2756374e;p=shipsimu.git diff --git a/inc/classes/main/response/class_ImageResponse.php b/inc/classes/main/response/class_ImageResponse.php index 3d16954..065caba 100644 --- a/inc/classes/main/response/class_ImageResponse.php +++ b/inc/classes/main/response/class_ImageResponse.php @@ -384,6 +384,16 @@ class ImageResponse extends BaseFrameworkSystem implements Responseable { public final function setImageInstance (BaseImage $imageInstance) { $this->imageInstance = $imageInstance; } + + /** + * Getter for default command + * + * @return $defaultCommand Default command for this response + */ + public function getDefaultCommand () { + $defaultCommand = $this->getConfigInstance()->readConfig('default_image_command'); + return $defaultCommand; + } } // [EOF]