Changeset 1044
- Timestamp:
- 11/16/07 15:03:06 (1 year ago)
- Files:
-
- trunk/src/main/php/net/stubbles/php/string/stubAbstractDecoratedStringEncoder.php (added)
- trunk/src/main/php/net/stubbles/php/string/stubRecursiveStringEncoder.php (modified) (2 diffs)
- trunk/src/test/php/net/stubbles/php/PHPTestSuite.php (modified) (1 diff)
- trunk/src/test/php/net/stubbles/php/string/stubAbstractDecoratedStringEncoderTestCase.php (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/php/string/stubRecursiveStringEncoder.php
r970 r1044 9 9 * @subpackage php_string 10 10 */ 11 stubClassLoader::load('net.stubbles.php.string.stubAbstract StringEncoder');11 stubClassLoader::load('net.stubbles.php.string.stubAbstractDecoratedStringEncoder'); 12 12 /** 13 13 * Encoder/decoder that decorates other en-/decoders and applies the en-/decoding … … 17 17 * @subpackage php_string 18 18 */ 19 class stubRecursiveStringEncoder extends stubAbstract StringEncoder19 class stubRecursiveStringEncoder extends stubAbstractDecoratedStringEncoder 20 20 { 21 /**22 * the decorated encoder23 *24 * @var stubStringEncoder25 */26 protected $encoder;27 28 /**29 * constructor30 *31 * @param stubStringEncoder $encoder the encoder to apply recursively32 */33 public function __construct(stubStringEncoder $encoder)34 {35 $this->encoder = $encoder;36 }37 38 21 /** 39 22 * encodes a value recursively trunk/src/test/php/net/stubbles/php/PHPTestSuite.php
r970 r1044 30 30 31 31 // string operations 32 $this->addTestFile($dir . '/string/stubAbstractDecoratedStringEncoderTestCase.php'); 32 33 $this->addTestFile($dir . '/string/stubAbstractStringEncoderTestCase.php'); 33 34 $this->addTestFile($dir . '/string/stubRecursiveStringEncoderTestCase.php');
