add enzyme/axiom interfaces

use axiom/RepositoryInterface in tests and store music
add axiom/Models/ModelInterface to TuneCollection
This commit is contained in:
2017-11-19 10:17:16 -05:00
parent 4ac9707184
commit ff99a0eaaf
2 changed files with 12 additions and 11 deletions

View File

@@ -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();

View File

@@ -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()