GoLang SplSubject::attach

request it (329)
GoLang replacement for PHP's SplSubject::attach [edit | history]



Do you know a GoLang replacement for PHP's SplSubject::attach? Write it!

PHP SplSubject::attach

PHP original manual for SplSubject::attach [ show | php.net ]

SplSubject::attach

(PHP 5 >= 5.1.0, PHP 7)

SplSubject::attachAttach an SplObserver

Description

abstract public void SplSubject::attach ( SplObserver $observer )

Attaches an SplObserver so that it can be notified of updates.

Warning

This function is currently not documented; only its argument list is available.

Parameters

observer

The SplObserver to attach.

Return Values

No value is returned.