Your IP : 216.73.216.84


Current Path : /home/helpink/www/libraries/vendor/joomla/language/src/
Upload File :
Current File : /home/helpink/www/libraries/vendor/joomla/language/src/DebugParserInterface.php

<?php

/**
 * Part of the Joomla Framework Language Package
 *
 * @copyright  Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE
 */

namespace Joomla\Language;

/**
 * Interface describing a language file parser capable of debugging a file
 *
 * @since  2.0.0-alpha
 */
interface DebugParserInterface extends ParserInterface
{
    /**
     * Parse a file and check its contents for valid structure
     *
     * @param   string  $filename  The name of the file.
     *
     * @return  string[]  Array containing a list of errors
     *
     * @since   2.0.0-alpha
     */
    public function debugFile(string $filename): array;
}