add enzyme/axiom interfaces
use axiom/RepositoryInterface in tests and store music add axiom/Models/ModelInterface to TuneCollection
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace XaiCorp\AbcParser\Models\Memory;
|
namespace XaiCorp\AbcParser\Models\Memory;
|
||||||
|
|
||||||
abstract class BaseIterator extends BaseObject implements \Iterator, \Countable, \ArrayAccess {
|
abstract class BaseIterator extends BaseObject implements \Iterator, \Countable, \ArrayAccess
|
||||||
|
{
|
||||||
|
|
||||||
private $position = 0;
|
private $position = 0;
|
||||||
protected $collection = array();
|
protected $collection = array();
|
||||||
|
|||||||
@@ -19,19 +19,19 @@ class TuneCollection extends BaseIterator implements ModelInterface
|
|||||||
// private $tunes = array();
|
// private $tunes = array();
|
||||||
|
|
||||||
//abc tunebook header fields
|
//abc tunebook header fields
|
||||||
private $A = array(); //Author / Area
|
private $A = []; //Author / Area
|
||||||
private $B = array(); //Book
|
private $B = []; //Book
|
||||||
private $C = array(); //Composer
|
private $C = []; //Composer
|
||||||
private $D = array(); //Discography
|
private $D = []; //Discography
|
||||||
private $F = array(); //file url
|
private $F = []; //file url
|
||||||
private $H = array(); //History
|
private $H = []; //History
|
||||||
private $L; //note length
|
private $L; //note length
|
||||||
private $M; //Meter
|
private $M; //Meter
|
||||||
private $N = array(); //Notes
|
private $N = []; //Notes
|
||||||
private $O = array(); //Origin
|
private $O = []; //Origin
|
||||||
private $R; //Rhythm
|
private $R; //Rhythm
|
||||||
private $S = array(); //Source
|
private $S = []; //Source
|
||||||
private $Z = array(); //Transcription
|
private $Z = []; //Transcription
|
||||||
|
|
||||||
|
|
||||||
// public function __construct()
|
// public function __construct()
|
||||||
|
|||||||
Reference in New Issue
Block a user