mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 06:37:55 +08:00 
			
		
		
		
	Call static::dumpAsString in VarDumper::dump
This way we can extend VarDumper::dumpAsString
This commit is contained in:
		@ -39,7 +39,7 @@ class VarDumper
 | 
				
			|||||||
	 */
 | 
						 */
 | 
				
			||||||
	public static function dump($var, $depth = 10, $highlight = false)
 | 
						public static function dump($var, $depth = 10, $highlight = false)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		echo self::dumpAsString($var, $depth, $highlight);
 | 
							echo static::dumpAsString($var, $depth, $highlight);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/**
 | 
						/**
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user