comparison vendor/pear/console_commandline/Console/CommandLine/MessageProvider.php @ 0:1e000243b222

vanilla 1.3.3 distro, I hope
author Charlie Root
date Thu, 04 Jan 2018 15:50:29 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1e000243b222
1 <?php
2
3 /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
4
5 /**
6 * This file is part of the PEAR Console_CommandLine package.
7 *
8 * PHP version 5
9 *
10 * LICENSE: This source file is subject to the MIT license that is available
11 * through the world-wide-web at the following URI:
12 * http://opensource.org/licenses/mit-license.php
13 *
14 * @category Console
15 * @package Console_CommandLine
16 * @author David JEAN LOUIS <izimobil@gmail.com>
17 * @copyright 2007 David JEAN LOUIS
18 * @license http://opensource.org/licenses/mit-license.php MIT License
19 * @version CVS: $Id$
20 * @link http://pear.php.net/package/Console_CommandLine
21 * @since File available since release 0.1.0
22 * @filesource
23 */
24
25 /**
26 * Message providers common interface, all message providers must implement
27 * this interface.
28 *
29 * @category Console
30 * @package Console_CommandLine
31 * @author David JEAN LOUIS <izimobil@gmail.com>
32 * @copyright 2007 David JEAN LOUIS
33 * @license http://opensource.org/licenses/mit-license.php MIT License
34 * @version Release: @package_version@
35 * @link http://pear.php.net/package/Console_CommandLine
36 * @since Class available since release 0.1.0
37 */
38 interface Console_CommandLine_MessageProvider
39 {
40 // get() {{{
41
42 /**
43 * Retrieves the given string identifier corresponding message.
44 * For a list of identifiers please see the provided default message
45 * provider.
46 *
47 * @param string $code The string identifier of the message
48 * @param array $vars An array of template variables
49 *
50 * @return string
51 * @see Console_CommandLine_MessageProvider_Default
52 */
53 public function get($code, $vars=array());
54
55 // }}}
56 }