src/i18n/TextCollection/i18nTextCollector.php
public function write(Module $module, $entities)
    {
        $this->getWriter()->write(
            $entities,
            $this->defaultLocale,
            $this->baseSavePath . '/' . $module->getRelativePath()
        );
        return $this;
    }
public function write(Module $module, $entities)
    {
        $this->getWriter()->write(
            $entities,
            $this->defaultLocale,
            $this->baseSavePath . '/' . $module->getRelativePath()
        );
        return $this;
    }
public function write ( Module $ module , $ entities ) { $ this -> getWriter ( ) -> write ( $ entities , $ this -> defaultLocale , $ this -> baseSavePath . '/' . $ module -> getRelativePath ( ) ) ; return $ this ; }
Write entities to a module

@param Module $module
@param array $entities
@return $this
Write entities to a module