AirLay backend

NewsService extends AirlayService
in package

Class AirlayService

Table of Contents

$  : AirlayConfig
$collection  : NewsCollection
$rabbitmq  : AMQPStreamConnection
$user  : UserEntity
$collection  : mixed
__construct()  : mixed
addMedia()  : void
deleteMedia()  : void
deleteNews()  : void
getCollection()  : mixed
update()  : NewsEntity
deleteFromFilesystem()  : void

Properties

Methods

__construct()

public __construct(mixed $collection) : mixed
Parameters
$collection : mixed
Return values
mixed

addMedia()

public addMedia(NewsEntity $news, string $tempName, string $name) : void
Parameters
$news : NewsEntity
$tempName : string
$name : string
Return values
void

getCollection()

public getCollection() : mixed
Return values
mixed

deleteFromFilesystem()

private deleteFromFilesystem(array<string|int, mixed> $file) : void
Parameters
$file : array<string|int, mixed>
Return values
void

Search results