first commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace WPML\ST\MO\File;
|
||||
|
||||
use WPML\ST\TranslationFile\StringEntity;
|
||||
|
||||
class Builder extends \WPML\ST\TranslationFile\Builder {
|
||||
|
||||
/** @var Generator */
|
||||
private $generator;
|
||||
|
||||
public function __construct( Generator $generator ) {
|
||||
$this->generator = $generator;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param StringEntity[] $strings
|
||||
* @return string
|
||||
*/
|
||||
public function get_content( array $strings ) {
|
||||
return $this->generator->getContent( $strings );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user