Skip to content
Control Apple entities
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Apple/Model
tests
.gitignore
.travis.yml
LICENSE
README.md
composer.json
phpunit.xml.dist

README.md

Apple models

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);
You can’t perform that action at this time.