apple/model

Model Apple entities

Installs: 619

Dependents: 1

Forks: 1

Open Issues: 1

Language: PHP

v1.2 2015-01-13 07:53 UTC

README

Each models implements ModelInterface and have defaults method:

  • setTrackId(integer $trackId)
  • getTrackId()
  • setAppStore(Apple\AppStore\AppStoreInterface $appStore)
  • getAppStore()
  • setArtistName(string $artistName)
  • getArtistName()
  • setArtistId(integer $artistId)
  • getArtistId

Software model

Example code:

use Apple\Model\Software;

$softwareModel = new Software;
$softwareModel
    ->setTrackId(123456789)
    ->setTrackName('Track name')
    // another setters
    ->setArtistId(54321)
    ->setArtistName('Artist name');

var_dump($softwareModel);