ContentDeleteService
in package
implements
ContentDeleteServiceInterface
Class ContentDeleteService
Interfaces, Classes and Traits
- ContentDeleteServiceInterface
- Interface ContentDeleteServiceInterface
Table of Contents
- $repository : ContentRepository
- __construct() : mixed
- ContentDeleteService constructor.
- deleteById() : $this|ContentRepositoryInterface
- Deletes the content data in database by id.
Properties
$repository
protected
ContentRepository
$repository
Methods
__construct()
ContentDeleteService constructor.
public
__construct(ContentRepositoryInterface $repository) : mixed
Parameters
- $repository : ContentRepositoryInterface
Return values
mixed —deleteById()
Deletes the content data in database by id.
public
deleteById( $contentGroupId) : $this|ContentRepositoryInterface
Parameters
Return values
$this|ContentRepositoryInterface —Same instance for chained method calls.