Files
conservatorio-tomadini/libraries/vendor/joomla/language/src/DebugParserInterface.php
2024-12-17 17:34:10 +01:00

30 lines
727 B
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;
}