allow intl for image object
This commit is contained in:
@@ -57,6 +57,8 @@ class ImageCreateOrUpdateEvent extends ActionEvent
|
||||
/** @var string Parent name */
|
||||
protected $parentName = null;
|
||||
|
||||
protected $locale;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
@@ -70,6 +72,26 @@ class ImageCreateOrUpdateEvent extends ActionEvent
|
||||
$this->parentId = $parentId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $locale
|
||||
*/
|
||||
public function setLocale($locale)
|
||||
{
|
||||
$this->locale = $locale;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getLocale()
|
||||
{
|
||||
return $this->locale;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Set Image to save
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user