67
68 public PHPExcel writes
69 {
70 get71 {72 throw new Exception("The method or operation is not implemented.");73 }74 set
75 {
76 throw new Exception("The method or operation is not implemented.");
48
49 public PHPExcel writes
50 {
51 get52 {53 throw new Exception("The method or operation is not implemented.");54 }55 set
56 {
57 throw new Exception("The method or operation is not implemented.");
29
30 public PHPExcel writes
31 {
32 get33 {34 throw new Exception("The method or operation is not implemented.");35 }36 set
37 {
38 throw new Exception("The method or operation is not implemented.");
10
11 public PHPExcel writes
12 {
13 get14 {15 throw new Exception("The method or operation is not implemented.");16 }17 set
18 {
19 throw new Exception("The method or operation is not implemented.");
10
11 public PHPExcel writes
12 {
13 get14 {15 throw new Exception("The method or operation is not implemented.");16 }17 set
18 {
19 throw new Exception("The method or operation is not implemented.");
While it is acceptable for setters to throw exceptions, getters are simply expected to return a value. Throwing any exception is considered an antipattern and is not a recommended practice. It is recommended that you refactor your code accordingly.