Class Repository
Base class for concrete repositories
| 
			 public 
			
			
			 | 
		#
		 __construct(  | 
| 
			 public 
			array|null
			&
			 | |
| 
			 protected 
			 | |
| 
			 protected 
			
			
			 | |
| 
			 public 
			mixed
			
			 | 
		#
		 persist( Stores values of entity's modified properties into database (inserts new row when entity is in detached state) | 
| 
			 public 
			mixed
			
			 | |
| 
			 protected 
			mixed
			
			 | |
| 
			 protected 
			mixed
			
			 | |
| 
			 protected 
			mixed
			
			 | |
| 
			 protected 
			
			
			 | |
| 
			 protected 
			mixed
			
			 | 
		#
		 createEntity( Dibi\Row $dibiRow, string|null $entityClass = null, string|null $table = null )Creates new Entity instance from given \Dibi\Row instance | 
| 
			 protected 
			array
			
			 | 
		#
		 createEntities( array $rows, string|null $entityClass = null, string|null $table = null )Creates new set of Entity's instances from given array of \Dibi\Row instances | 
| 
			 protected 
			string
			
			 | |
| 
			 protected 
			
			
			 | 
		#
		 checkEntityType( Checks whether give entity is instance of required type | 
| 
			protected  
			 | $connection | |
| 
			protected  
			 | $mapper | |
| 
			protected  
			 | $entityFactory | |
| 
			protected  
			string
		 | $table | |
| 
			protected  
			string
		 | $entityClass | |
| 
			protected  
			 | $events |