* @description Creates a page. * @param {Object} params The page parameters. * @param {String} params.id The page identifier. * @param {String} params.defaultFile The page file name. * @returns {Page} The page.
(params = {})
| 13 | * @returns {Page} The page. |
| 14 | */ |
| 15 | constructor(params = {}) { |
| 16 | const { id, defaultFile } = params; |
| 17 | |
| 18 | this._id = id; |
| 19 | this._defaultFile = defaultFile; |
| 20 | } |
| 21 | |
| 22 | get id() { |
| 23 | return this._id; |
nothing calls this directly
no outgoing calls
no test coverage detected