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 11Changelog
22=========
33
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
55 * ** 2016-10-10** : [ ORM] Add option to use custom Route class in ORM
66 * ** 2016-06-18** : [ BC BREAK] Removed all ` *.class ` parameters.
77 * ** 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()
100100 */
101101 public function setParent ($ parent )
102102 {
103+ @trigger_error ('The ' .__METHOD__ .'() method is deprecated and will be removed in version 3.0. Use setParentDocument() instead. ' , E_USER_DEPRECATED );
104+
103105 return $ this ->setParentDocument ($ parent );
104106 }
105107
@@ -109,6 +111,8 @@ public function setParent($parent)
109111 */
110112 public function getParent ()
111113 {
114+ @trigger_error ('The ' .__METHOD__ .'() method is deprecated and will be removed in version 3.0. Use getParentDocument() instead. ' , E_USER_DEPRECATED );
115+
112116 return $ this ->getParentDocument ();
113117 }
114118
Original file line number Diff line number Diff line change @@ -110,6 +110,8 @@ public function getParentDocument()
110110 */
111111 public function setParent ($ parent )
112112 {
113+ @trigger_error ('The ' .__METHOD__ .'() method is deprecated and will be removed in version 3.0. Use setParentDocument() instead. ' , E_USER_DEPRECATED );
114+
113115 return $ this ->setParentDocument ($ parent );
114116 }
115117
@@ -119,6 +121,8 @@ public function setParent($parent)
119121 */
120122 public function getParent ()
121123 {
124+ @trigger_error ('The ' .__METHOD__ .'() method is deprecated and will be removed in version 3.0. Use getParentDocument() instead. ' , E_USER_DEPRECATED );
125+
122126 return $ this ->getParentDocument ();
123127 }
124128
You can’t perform that action at this time.
0 commit comments