mirror of
				https://github.com/Mibew/tray.git
				synced 2025-10-03 00:03:34 +03:00 
			
		
		
		
	Added some phpdoc documentation to EventDispatcher class
This commit is contained in:
		
							parent
							
								
									f4e87f5303
								
							
						
					
					
						commit
						c9ffa8291d
					
				| @ -60,6 +60,8 @@ Class EventDispatcher { | |||||||
| 	/** | 	/** | ||||||
| 	 * Attaches listener function to event. | 	 * Attaches listener function to event. | ||||||
| 	 * | 	 * | ||||||
|  | 	 * All event listeners must receive one argument of array type by reference. | ||||||
|  | 	 * | ||||||
| 	 * @param string $event_name Event's name | 	 * @param string $event_name Event's name | ||||||
| 	 * @param Plugin $plugin Plugin object, that handles the event | 	 * @param Plugin $plugin Plugin object, that handles the event | ||||||
| 	 * @param string $listener Plugins method, that handles the event | 	 * @param string $listener Plugins method, that handles the event | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user