public function attachSubscriber(Subscriber $subscriber)
	{
		$listeners = $subscriber->getRegisteredEvents();
		foreach($listeners as $id => $listener) {
			EventManager::listenTo($id, array($subscriber, $listener));
		}
	}
public function attachSubscriber(Subscriber $subscriber)
	{
		$listeners = $subscriber->getRegisteredEvents();
		foreach($listeners as $id => $listener) {
			EventManager::listenTo($id, array($subscriber, $listener));
		}
	}
public function attachSubscriber ( Subscriber $ subscriber ) { $ listeners = $ subscriber -> getRegisteredEvents ( ) ; foreach ( $ listeners as $ id => $ listener ) { EventManager :: listenTo ( $ id , array ( $ subscriber , $ listener ) ) ; } }
This method attaches an event through it's subscribe object. List of events
are loaded from the subscriber and added to the listeners.

@param 	$subscriber <Kit\Glider\Events\Contract\Subcriber>
@access 	public
@return 	<void>
This method attaches an event through it s subscribe object . List of events are loaded from the subscriber and added to the listeners .