29 lines
434 B
PHP
29 lines
434 B
PHP
|
<?php
|
||
|
|
||
|
namespace app\AlbumSources;
|
||
|
|
||
|
use App\Album;
|
||
|
use App\Storage;
|
||
|
|
||
|
abstract class AlbumSourceBase
|
||
|
{
|
||
|
/**
|
||
|
* @var Album
|
||
|
*/
|
||
|
protected $album;
|
||
|
|
||
|
/**
|
||
|
* @var Storage
|
||
|
*/
|
||
|
protected $configuration;
|
||
|
|
||
|
public function setAlbum(Album $album)
|
||
|
{
|
||
|
$this->album = $album;
|
||
|
}
|
||
|
|
||
|
public function setConfiguration(Storage $configuration)
|
||
|
{
|
||
|
$this->configuration = $configuration;
|
||
|
}
|
||
|
}
|