kopia lustrzana https://github.com/pixelfed/pixelfed
				
				
				
			
		
			
				
	
	
		
			24 wiersze
		
	
	
		
			372 B
		
	
	
	
		
			PHP
		
	
	
			
		
		
	
	
			24 wiersze
		
	
	
		
			372 B
		
	
	
	
		
			PHP
		
	
	
<?php
 | 
						|
 | 
						|
namespace App;
 | 
						|
 | 
						|
use Illuminate\Database\Eloquent\Model;
 | 
						|
use Pixelfed\Snowflake\HasSnowflakePrimary;
 | 
						|
 | 
						|
class Collection extends Model
 | 
						|
{
 | 
						|
	use HasSnowflakePrimary;
 | 
						|
 | 
						|
    /**
 | 
						|
     * Indicates if the IDs are auto-incrementing.
 | 
						|
     *
 | 
						|
     * @var bool
 | 
						|
     */
 | 
						|
    public $incrementing = false;
 | 
						|
 | 
						|
	public function profile()
 | 
						|
	{
 | 
						|
		return $this->belongsTo(Profile::class);
 | 
						|
	}
 | 
						|
}
 |