We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a74007f commit 88cb636Copy full SHA for 88cb636
src/Record.php
@@ -11,6 +11,15 @@
11
use Scriptotek\Marc\Fields\Subject;
12
use Scriptotek\Marc\Fields\Title;
13
14
+/**
15
+ * The MARC record wrapper.
16
+ *
17
+ * We wrap File_MARC_Record rather than extend it because we would otherwise
18
+ * have to copy or rewrite the functionality in the `next()` and `_decode()`
19
+ * methods of File_MARC and File_MARCXML, which are hard-wired to call
20
+ * `new File_MARC_Record()`. The down-side of the wrapping approach is that we
21
+ * break static code analysis and IDE code hinting.
22
+ */
23
class Record
24
{
25
protected $record;
0 commit comments