19 lines
		
	
	
		
			319 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
		
		
			
		
	
	
			19 lines
		
	
	
		
			319 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| 
								 | 
							
								<?php
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								namespace addons\epay\library;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class Collection extends \Yansongda\Supports\Collection
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    /**
							 | 
						||
| 
								 | 
							
								     * 创建 Collection 实例
							 | 
						||
| 
								 | 
							
								     * @access public
							 | 
						||
| 
								 | 
							
								     * @param  array $items 数据
							 | 
						||
| 
								 | 
							
								     * @return static
							 | 
						||
| 
								 | 
							
								     */
							 | 
						||
| 
								 | 
							
								    public static function make($items = [])
							 | 
						||
| 
								 | 
							
								    {
							 | 
						||
| 
								 | 
							
								        return new static($items);
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |