attach() attach(\SplObserver $observer) Attach an observer to the event. Parameters \SplObserver $observer
detach() detach(\SplObserver $observer) Detach the observer from the event. Parameters \SplObserver $observer