primo commit
This commit is contained in:
29
libraries/vendor/joomla/language/src/DebugParserInterface.php
vendored
Normal file
29
libraries/vendor/joomla/language/src/DebugParserInterface.php
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
<?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;
|
||||
}
|
||||
Reference in New Issue
Block a user