generated from mirzaev/pot
	Initial commit
This commit is contained in:
		
							
								
								
									
										31
									
								
								author/project/system/models/interfaces/collection.php
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										31
									
								
								author/project/system/models/interfaces/collection.php
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,31 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
declare(strict_types=1);
 | 
			
		||||
 | 
			
		||||
namespace mirzaev\shabashka\models\interfaces;
 | 
			
		||||
 | 
			
		||||
// Framework for ArangoDB
 | 
			
		||||
use mirzaev\arangodb\enumerations\collection\type;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Collection
 | 
			
		||||
 *
 | 
			
		||||
 * Interface for implementing a collection from ArangoDB
 | 
			
		||||
 *
 | 
			
		||||
 * @package mirzaev\shabashka\models\interfaces
 | 
			
		||||
 *
 | 
			
		||||
 * @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
 | 
			
		||||
 * @author mirzaev <mail@domain.zone>
 | 
			
		||||
 */
 | 
			
		||||
interface collection
 | 
			
		||||
{
 | 
			
		||||
	/**
 | 
			
		||||
	 * Name of the collection in ArangoDB
 | 
			
		||||
	 */
 | 
			
		||||
	public const string COLLECTION = 'THIS_COLLECTION_SHOULD_NOT_EXIST';
 | 
			
		||||
 | 
			
		||||
	/**
 | 
			
		||||
	 * Type of the collection in ArangoDB
 | 
			
		||||
	 */
 | 
			
		||||
	public const type TYPE = type::document;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user