Merge pull request #10 from phantom94/patch-1
[gitphp.git] / include / git / Observable.interface.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
/**
 * Interface for observable objects
 *
 * @author Christopher Han <xiphux@gmail.com>
 * @copyright Copyright (c) 2012 Christopher Han
 * @package GitPHP
 * @subpackage Git
 */
interface GitPHP_Observable_Interface
{
        /**
         * Add a new observer
         *
         * @param GitPHP_Observer_Interface $observer observer
         */
        public function AddObserver($observer);
 
        /**
         * Remove an observer
         *
         * @param GitPHP_Observer_Interface $observer observer
         */
        public function RemoveObserver($observer);
}
 
comments