Skip to content
This repository has been archived by the owner on Nov 28, 2019. It is now read-only.

Commit

Permalink
Add refactor notes #54
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaber-de committed Feb 7, 2016
1 parent b9305bd commit 47fcccf
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inc/Controller/DataIdObserverProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
* This controller provides the IdMapper to »observe« the imported elements.
*
* @package W2M\Controller
*
* Todo: #54 Refactor IdObservableInterface dependency, see https://github.com/inpsyde/wpml2mlp/issues/54
*/
class DataIdObserverProvider {

Expand Down
3 changes: 3 additions & 0 deletions inc/Import/Data/IdObserverInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
* entities. The main use case is an IdMapper
*
* @package W2M\Import\Data
* @deprecated
*
* Todo: #54 Resolve this interface, see https://github.com/inpsyde/wpml2mlp/issues/54
*/
interface IdObserverInterface {

Expand Down
2 changes: 2 additions & 0 deletions inc/Import/Data/ImportListeningTypeIdMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* to track IDs of the types 'post', 'user' and 'term'
*
* @package W2M\Import\Data
*
* Todo: #54 Refactor IdObservableInterface implementation, see https://github.com/inpsyde/wpml2mlp/issues/54
*/
class ImportListeningTypeIdMapper implements MultiTypeIdMapperInterface, IdObserverInterface, MultiTypeIdListInterface {

Expand Down
2 changes: 2 additions & 0 deletions inc/Import/Data/PresetUserTypeIdMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
* Wrapper for ImportListeningTypeIdMapper with pre-defined user mapping from a json-report file
*
* @package W2M\Import\Data
*
* Todo: #54 Refactor IdObservableInterface implementation, see https://github.com/inpsyde/wpml2mlp/issues/54
*/
class PresetUserTypeIdMapper implements MultiTypeIdMapperInterface, IdObserverInterface, MultiTypeIdListInterface {

Expand Down

0 comments on commit 47fcccf

Please sign in to comment.