getLocale() public method

public getLocale ( ) : mixed
return mixed
Example #1
0
 /**
  * @param Collection $collection
  *
  * @return Collection
  */
 protected function addPreview(Collection $collection)
 {
     return $collection->setPreview($this->getPreview($collection->getId(), $collection->getLocale()));
 }