Album
in package
implements
AlbumContract
Class Album.
Table of Contents
Interfaces
Properties
Methods
- __construct() : mixed
- chunkingTrashedAlbums() : mixed|void
- getDefaultAlbumTitle() : string
- getDefaultTypes() : array<string|int, mixed>
- isDefaultAlbum() : bool
Properties
$repository
protected
AlbumRepositoryInterface
$repository
Methods
__construct()
public
__construct(AlbumRepositoryInterface $repository) : mixed
Parameters
- $repository : AlbumRepositoryInterface
chunkingTrashedAlbums()
public
chunkingTrashedAlbums(User $context, string $userType, int $userId) : mixed|void
Parameters
- $context : User
- $userType : string
- $userId : int
Return values
mixed|voidgetDefaultAlbumTitle()
public
getDefaultAlbumTitle(Album $album) : string
Parameters
- $album : Album
Return values
stringgetDefaultTypes()
public
getDefaultTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>isDefaultAlbum()
public
isDefaultAlbum(int|null $value) : bool
Parameters
- $value : int|null