@@ -48,6 +48,8 @@ abstract class CodeStore
4848 * Object constructor.
4949 *
5050 * @param int $indentation The number of spaces per indentation level.
51+ *
52+ * @api
5153 */
5254 public function __construct ($ indentation = 2 )
5355 {
@@ -63,6 +65,8 @@ public function __construct($indentation = 2)
6365 * @param bool $trim If true the line or lines of code will be trimmed before appending.
6466 *
6567 * @throws \InvalidArgumentException
68+ *
69+ * @api
6670 */
6771 public function append ($ line , $ trim = true )
6872 {
@@ -90,6 +94,8 @@ public function append($line, $trim = true)
9094 * Appends a part of code to the last line of code.
9195 *
9296 * @param string $part The part of code to be to the last line.
97+ *
98+ * @api
9399 */
94100 public function appendToLastLine ($ part )
95101 {
@@ -99,6 +105,8 @@ public function appendToLastLine($part)
99105 //--------------------------------------------------------------------------------------------------------------------
100106 /**
101107 * Removes all code from this code store.
108+ *
109+ * @api
102110 */
103111 public function clear ()
104112 {
@@ -108,6 +116,8 @@ public function clear()
108116 //--------------------------------------------------------------------------------------------------------------------
109117 /**
110118 * Returns the generated code as a single string.
119+ *
120+ * @api
111121 */
112122 public function getCode ()
113123 {
@@ -166,6 +176,8 @@ public function getCode()
166176 * @param string $line The line of code.
167177 *
168178 * @return int
179+ *
180+ * @api
169181 */
170182 abstract protected function indentationMode ($ line );
171183
0 commit comments