PHPUnit2
[ class tree: PHPUnit2 ] [ index: PHPUnit2 ] [ all elements ]

Source for file Version.php

Documentation is available at Version.php

  1. <?php
  2. //
  3. // +------------------------------------------------------------------------+
  4. // | PEAR :: PHPUnit2                                                       |
  5. // +------------------------------------------------------------------------+
  6. // | Copyright (c) 2002-2004 Sebastian Bergmann <sb@sebastian-bergmann.de>. |
  7. // +------------------------------------------------------------------------+
  8. // | This source file is subject to version 3.00 of the PHP License,        |
  9. // | that is available at http://www.php.net/license/3_0.txt.               |
  10. // | If you did not receive a copy of the PHP license and are unable to     |
  11. // | obtain it through the world-wide-web, please send a note to            |
  12. // | license@php.net so we can mail you a copy immediately.                 |
  13. // +------------------------------------------------------------------------+
  14. //
  15. // $Id: Version.php,v 1.2 2004/04/15 15:02:33 sebastian Exp $
  16. //
  17.  
  18. /**
  19.  * This class defines the current version of PHPUnit.
  20.  *
  21.  * @author      Sebastian Bergmann <sb@sebastian-bergmann.de>
  22.  * @copyright   Copyright &copy; 2002-2004 Sebastian Bergmann <sb@sebastian-bergmann.de>
  23.  * @license     http://www.php.net/license/3_0.txt The PHP License, Version 3.0
  24.  * @category    PHP
  25.  * @package     PHPUnit2
  26.  * @subpackage  Runner
  27.  */
  28.     // {{{ public static function id()
  29.  
  30.     /**
  31.     * Returns the current version of PHPUnit.
  32.     *
  33.     * @return string 
  34.     * @access public
  35.     * @static
  36.     */
  37.       public static function id({
  38.             return '@version@';
  39.       }
  40.  
  41.     // }}}
  42.     // {{{ public function getVersionString()
  43.  
  44.     /**
  45.     * @return string 
  46.     * @access public
  47.     * @static
  48.     */
  49.     public static function getVersionString({
  50.         return "PHPUnit @version@ by Sebastian Bergmann.";
  51.     }
  52.  
  53.     // }}}
  54. }
  55.  
  56. /*
  57.  * vim600:  et sw=2 ts=2 fdm=marker
  58.  * vim<600: et sw=2 ts=2
  59.  */
  60. ?>

Documentation generated on Mon, 11 Mar 2019 13:55:59 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.