mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 06:37:55 +08:00 
			
		
		
		
	Added small specification to result of conversion object to array (#13329) [skip ci]
This commit is contained in:
		
				
					committed by
					
						
						Alexander Makarov
					
				
			
			
				
	
			
			
			
						parent
						
							e05a883fdf
						
					
				
				
					commit
					a232c74e3b
				
			@ -398,7 +398,7 @@ Each mapping array contains a set of mappings. Each mapping could be:
 | 
				
			|||||||
- A key-value pair of desired array key name and model column name to take value from.
 | 
					- A key-value pair of desired array key name and model column name to take value from.
 | 
				
			||||||
- A key-value pair of desired array key name and a callback which returns value.
 | 
					- A key-value pair of desired array key name and a callback which returns value.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The result of conversion above will be:
 | 
					The result of conversion above for single model will be:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```php
 | 
					```php
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user