File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
Changelog
2
2
=========
3
3
4
- * ** 2016-12-02** : [ BC BREAK] Move all sonata related code
4
+ * ** 2016-12-02** : [ BC BREAK] Moved all sonata related code to sonata-phpcr-admin-integration-bundle
5
5
* ** 2016-10-10** : [ ORM] Add option to use custom Route class in ORM
6
6
* ** 2016-06-18** : [ BC BREAK] Removed all ` *.class ` parameters.
7
7
* ** 2016-06-18** : [ BC BREAK] Removed the ` cmf_routing.dynamic.persistence.phpcr.route_basepath `
Original file line number Diff line number Diff line change @@ -100,6 +100,8 @@ public function getParentDocument()
100
100
*/
101
101
public function setParent ($ parent )
102
102
{
103
+ @trigger_error ('The ' .__METHOD__ .'() method is deprecated and will be removed in version 3.0. Use setParentDocument() instead. ' , E_USER_DEPRECATED );
104
+
103
105
return $ this ->setParentDocument ($ parent );
104
106
}
105
107
@@ -109,6 +111,8 @@ public function setParent($parent)
109
111
*/
110
112
public function getParent ()
111
113
{
114
+ @trigger_error ('The ' .__METHOD__ .'() method is deprecated and will be removed in version 3.0. Use getParentDocument() instead. ' , E_USER_DEPRECATED );
115
+
112
116
return $ this ->getParentDocument ();
113
117
}
114
118
Original file line number Diff line number Diff line change @@ -110,6 +110,8 @@ public function getParentDocument()
110
110
*/
111
111
public function setParent ($ parent )
112
112
{
113
+ @trigger_error ('The ' .__METHOD__ .'() method is deprecated and will be removed in version 3.0. Use setParentDocument() instead. ' , E_USER_DEPRECATED );
114
+
113
115
return $ this ->setParentDocument ($ parent );
114
116
}
115
117
@@ -119,6 +121,8 @@ public function setParent($parent)
119
121
*/
120
122
public function getParent ()
121
123
{
124
+ @trigger_error ('The ' .__METHOD__ .'() method is deprecated and will be removed in version 3.0. Use getParentDocument() instead. ' , E_USER_DEPRECATED );
125
+
122
126
return $ this ->getParentDocument ();
123
127
}
124
128
You can’t perform that action at this time.
0 commit comments