protected function publishTranslations($path, array $items)
    {
        foreach ($items as $filename => $translations) {

            $content = "<?php

/**
 * Part of the Antares package.
 *
 * NOTICE OF LICENSE
 *
 * Licensed under the 3-clause BSD License.
 *
 * This source file is subject to the 3-clause BSD License that is
 * bundled with this package in the LICENSE file.
 *
 * @package    Translations
 * @version    0.9.0
 * @author     Antares Team
 * @license    BSD License (3-clause)
 * @copyright  (c) 2017, Antares
 * @link       http://antaresproject.io
 */

\n return\n\n " . var_export($translations, true) . ";\n";
            file_put_contents($path . DIRECTORY_SEPARATOR . $filename . '.php', $content);
        }
        return true;
    }
protected function publishTranslations($path, array $items)
    {
        foreach ($items as $filename => $translations) {

            $content = "<?php

/**
 * Part of the Antares package.
 *
 * NOTICE OF LICENSE
 *
 * Licensed under the 3-clause BSD License.
 *
 * This source file is subject to the 3-clause BSD License that is
 * bundled with this package in the LICENSE file.
 *
 * @package    Translations
 * @version    0.9.0
 * @author     Antares Team
 * @license    BSD License (3-clause)
 * @copyright  (c) 2017, Antares
 * @link       http://antaresproject.io
 */

\n return\n\n " . var_export($translations, true) . ";\n";
            file_put_contents($path . DIRECTORY_SEPARATOR . $filename . '.php', $content);
        }
        return true;
    }
protected function publishTranslations ( $ path , array $ items ) { foreach ( $ items as $ filename => $ translations ) { $ content = "<?php

/**
 * Part of the Antares package.
 *
 * NOTICE OF LICENSE
 *
 * Licensed under the 3-clause BSD License.
 *
 * This source file is subject to the 3-clause BSD License that is
 * bundled with this package in the LICENSE file.
 *
 * @package    Translations
 * @version    0.9.0
 * @author     Antares Team
 * @license    BSD License (3-clause)
 * @copyright  (c) 2017, Antares
 * @link       http://antaresproject.io
 */

\n return\n\n " . var_export ( $ translations , true ) . ";\n" ; file_put_contents ( $ path . DIRECTORY_SEPARATOR . $ filename . '.php' , $ content ) ; } return true ; }
writing translations to files

@param String $path
@param array $items
@return boolean
writing translations to files