mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API Adding chaining to i18nTextCollector::write()
Allowing chaining off of the i18nTextCollector::write() function so it's inline with DataObject::write()
This commit is contained in:
parent
39ed36dad6
commit
973b967e6b
@ -193,6 +193,7 @@ class i18nTextCollector extends Object {
|
|||||||
|
|
||||||
public function write($module, $entities) {
|
public function write($module, $entities) {
|
||||||
$this->getWriter()->write($entities, $this->defaultLocale, $this->baseSavePath . '/' . $module);
|
$this->getWriter()->write($entities, $this->defaultLocale, $this->baseSavePath . '/' . $module);
|
||||||
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user