forked from piece/piece-flow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PageFlow] changed the type of the argument of the PageFlowCache::__c…
…onstruct() method to PageFlowInterface (Issue piece#4)
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
/** | ||
* PHP version 5.3 | ||
* | ||
* Copyright (c) 2012 KUBO Atsuhiro <[email protected]>, | ||
* Copyright (c) 2012-2013 KUBO Atsuhiro <[email protected]>, | ||
* All rights reserved. | ||
* | ||
* Redistribution and use in source and binary forms, with or without | ||
|
@@ -29,7 +29,7 @@ | |
* POSSIBILITY OF SUCH DAMAGE. | ||
* | ||
* @package Piece_Flow | ||
* @copyright 2012 KUBO Atsuhiro <[email protected]> | ||
* @copyright 2012-2013 KUBO Atsuhiro <[email protected]> | ||
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License | ||
* @version Release: @package_version@ | ||
* @since File available since Release 2.0.0 | ||
|
@@ -42,7 +42,7 @@ | |
|
||
/** | ||
* @package Piece_Flow | ||
* @copyright 2012 KUBO Atsuhiro <[email protected]> | ||
* @copyright 2012-2013 KUBO Atsuhiro <[email protected]> | ||
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License | ||
* @version Release: @package_version@ | ||
* @since Class available since Release 2.0.0 | ||
|
@@ -107,9 +107,9 @@ public function read() | |
} | ||
|
||
/** | ||
* @param \Piece\Flow\PageFlow\PageFlow $pageFlow | ||
* @param \Piece\Flow\PageFlow\PageFlowInterface $pageFlow | ||
*/ | ||
public function write(PageFlow $pageFlow) | ||
public function write(PageFlowInterface $pageFlow) | ||
{ | ||
$pageFlowClass = new \ReflectionObject($pageFlow); | ||
$this->configCache->write($this->createContents(addslashes(serialize($pageFlow))), array( | ||
|