Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c49c8da
commit 8a05eb5
Showing
22 changed files
with
1,022 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,40 @@ | ||
<?php | ||
|
||
/** | ||
* PHPSpec | ||
* | ||
* LICENSE | ||
* | ||
* This file is subject to the GNU Lesser General Public License Version 3 | ||
* that is bundled with this package in the file LICENSE. | ||
* It is also available through the world-wide-web at this URL: | ||
* http://www.gnu.org/licenses/lgpl-3.0.txt | ||
* If you did not receive a copy of the license and are unable to | ||
* obtain it through the world-wide-web, please send an email | ||
* to license@phpspec.net so we can send you a copy immediately. | ||
* | ||
* @category PHPSpec | ||
* @package PHPSpec | ||
* @copyright Copyright (c) 2007-2009 Pádraic Brady, Travis Swicegood | ||
* @copyright Copyright (c) 2010-2012 Pádraic Brady, Travis Swicegood, | ||
* Marcello Duarte | ||
* @license http://www.gnu.org/licenses/lgpl-3.0.txt GNU Lesser General Public Licence Version 3 | ||
*/ | ||
namespace PHPSpec\Context\Zend\Spy; | ||
|
||
/** | ||
* @category PHPSpec | ||
* @package PHPSpec_Zend | ||
* @copyright Copyright (c) 2007-2009 Pádraic Brady, Travis Swicegood | ||
* @copyright Copyright (c) 2010-2012 Pádraic Brady, Travis Swicegood, | ||
* Marcello Duarte | ||
* @license http://www.gnu.org/licenses/lgpl-3.0.txt GNU Lesser General Public Licence Version 3 | ||
*/ | ||
interface Observer | ||
{ | ||
/** | ||
* Updates the observer | ||
* | ||
* @param array $event | ||
*/ | ||
public function update($event); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,47 @@ | ||
<?php | ||
|
||
/** | ||
* PHPSpec | ||
* | ||
* LICENSE | ||
* | ||
* This file is subject to the GNU Lesser General Public License Version 3 | ||
* that is bundled with this package in the file LICENSE. | ||
* It is also available through the world-wide-web at this URL: | ||
* http://www.gnu.org/licenses/lgpl-3.0.txt | ||
* If you did not receive a copy of the license and are unable to | ||
* obtain it through the world-wide-web, please send an email | ||
* to license@phpspec.net so we can send you a copy immediately. | ||
* | ||
* @category PHPSpec | ||
* @package PHPSpec | ||
* @copyright Copyright (c) 2007-2009 Pádraic Brady, Travis Swicegood | ||
* @copyright Copyright (c) 2010-2012 Pádraic Brady, Travis Swicegood, | ||
* Marcello Duarte | ||
* @license http://www.gnu.org/licenses/lgpl-3.0.txt GNU Lesser General Public Licence Version 3 | ||
*/ | ||
namespace PHPSpec\Context\Zend\Spy; | ||
|
||
/** | ||
* @category PHPSpec | ||
* @package PHPSpec_Zend | ||
* @copyright Copyright (c) 2007-2009 Pádraic Brady, Travis Swicegood | ||
* @copyright Copyright (c) 2010-2012 Pádraic Brady, Travis Swicegood, | ||
* Marcello Duarte | ||
* @license http://www.gnu.org/licenses/lgpl-3.0.txt GNU Lesser General Public Licence Version 3 | ||
*/ | ||
interface Subject | ||
{ | ||
/** | ||
* Attaches an observer | ||
* | ||
* @param Observer $observer | ||
*/ | ||
public function attach(Observer $observer); | ||
|
||
/** | ||
* Notifies the observers | ||
* | ||
* @param array $event | ||
*/ | ||
public function notify($event); | ||
} |
Oops, something went wrong.