@@ -58,7 +58,8 @@ class AnnotateOptions implements ArrayAccess
5858 'firstPage ' => 'int ' ,
5959 'lastPage ' => 'int ' ,
6060 'onlyAnnotatedPages ' => 'bool ' ,
61- 'outputPath ' => 'string '
61+ 'outputPath ' => 'string ' ,
62+ 'fontsPath ' => 'string '
6263 ];
6364
6465 /*
@@ -72,7 +73,8 @@ class AnnotateOptions implements ArrayAccess
7273 'firstPage ' => 'int32 ' ,
7374 'lastPage ' => 'int32 ' ,
7475 'onlyAnnotatedPages ' => null ,
75- 'outputPath ' => null
76+ 'outputPath ' => null ,
77+ 'fontsPath ' => null
7678 ];
7779
7880 /*
@@ -107,7 +109,8 @@ public static function swaggerFormats()
107109 'firstPage ' => 'FirstPage ' ,
108110 'lastPage ' => 'LastPage ' ,
109111 'onlyAnnotatedPages ' => 'OnlyAnnotatedPages ' ,
110- 'outputPath ' => 'OutputPath '
112+ 'outputPath ' => 'OutputPath ' ,
113+ 'fontsPath ' => 'FontsPath '
111114 ];
112115
113116 /*
@@ -121,7 +124,8 @@ public static function swaggerFormats()
121124 'firstPage ' => 'setFirstPage ' ,
122125 'lastPage ' => 'setLastPage ' ,
123126 'onlyAnnotatedPages ' => 'setOnlyAnnotatedPages ' ,
124- 'outputPath ' => 'setOutputPath '
127+ 'outputPath ' => 'setOutputPath ' ,
128+ 'fontsPath ' => 'setFontsPath '
125129 ];
126130
127131 /*
@@ -135,7 +139,8 @@ public static function swaggerFormats()
135139 'firstPage ' => 'getFirstPage ' ,
136140 'lastPage ' => 'getLastPage ' ,
137141 'onlyAnnotatedPages ' => 'getOnlyAnnotatedPages ' ,
138- 'outputPath ' => 'getOutputPath '
142+ 'outputPath ' => 'getOutputPath ' ,
143+ 'fontsPath ' => 'getFontsPath '
139144 ];
140145
141146 /*
@@ -204,6 +209,7 @@ public function __construct(array $data = null)
204209 $ this ->container ['lastPage ' ] = isset ($ data ['lastPage ' ]) ? $ data ['lastPage ' ] : null ;
205210 $ this ->container ['onlyAnnotatedPages ' ] = isset ($ data ['onlyAnnotatedPages ' ]) ? $ data ['onlyAnnotatedPages ' ] : null ;
206211 $ this ->container ['outputPath ' ] = isset ($ data ['outputPath ' ]) ? $ data ['outputPath ' ] : null ;
212+ $ this ->container ['fontsPath ' ] = isset ($ data ['fontsPath ' ]) ? $ data ['fontsPath ' ] : null ;
207213 }
208214
209215 /*
@@ -392,6 +398,30 @@ public function setOutputPath($outputPath)
392398
393399 return $ this ;
394400 }
401+
402+ /*
403+ * Gets fontsPath
404+ *
405+ * @return string
406+ */
407+ public function getFontsPath ()
408+ {
409+ return $ this ->container ['fontsPath ' ];
410+ }
411+
412+ /*
413+ * Sets fontsPath
414+ *
415+ * @param string $fontsPath The path to directory containing custom fonts in storage
416+ *
417+ * @return $this
418+ */
419+ public function setFontsPath ($ fontsPath )
420+ {
421+ $ this ->container ['fontsPath ' ] = $ fontsPath ;
422+
423+ return $ this ;
424+ }
395425 /*
396426 * Returns true if offset exists. False otherwise.
397427 *
0 commit comments