Changeset 685

Show
Ignore:
Timestamp:
05/29/07 21:39:03 (2 years ago)
Author:
mikey
Message:

renamed public static toString() to public static getStringRepresentationOf()

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/net/stubbles/stubBaseObject.php

    r522 r685  
    8484    public function __toString() 
    8585    { 
    86         return self::toString($this, get_object_vars($this)); 
     86        return self::getStringRepresentationOf($this, get_object_vars($this)); 
    8787    } 
    8888     
     
    111111     * @XMLIgnore 
    112112     */ 
    113     public static function toString(stubObject $object, array $properties = null) 
     113    public static function getStringRepresentationOf(stubObject $object, array $properties = null) 
    114114    { 
    115115        if (null === $properties) { 
    116116            $properties = get_object_vars($object); 
    117117        } 
    118         $string     = $object->getClassName() . " {\n"; 
     118         
     119        $string = $object->getClassName() . " {\n"; 
    119120        foreach ($properties as $name => $value) { 
    120121            if ('_serializedProperties' == $name) {