Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Application\UseCases\RemoveStatement\RemoveStatement Class Reference
+ Collaboration diagram for Wikibase\Repo\RestApi\Application\UseCases\RemoveStatement\RemoveStatement:

Public Member Functions

 __construct (RemoveStatementValidator $validator, AssertUserIsAuthorized $assertUserIsAuthorized, AssertStatementSubjectExists $assertStatementSubjectExists, StatementWriteModelRetriever $statementRetriever, StatementRemover $statementRemover)
 
 execute (RemoveStatementRequest $request)
 

Private Attributes

RemoveStatementValidator $validator
 
AssertUserIsAuthorized $assertUserIsAuthorized
 
AssertStatementSubjectExists $assertStatementSubjectExists
 
StatementWriteModelRetriever $statementRetriever
 
StatementRemover $statementRemover
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\UseCases\RemoveStatement\RemoveStatement::__construct ( RemoveStatementValidator $validator,
AssertUserIsAuthorized $assertUserIsAuthorized,
AssertStatementSubjectExists $assertStatementSubjectExists,
StatementWriteModelRetriever $statementRetriever,
StatementRemover $statementRemover )

Member Function Documentation

◆ execute()

Wikibase\Repo\RestApi\Application\UseCases\RemoveStatement\RemoveStatement::execute ( RemoveStatementRequest $request)
Exceptions
ItemRedirect
UseCaseError

Member Data Documentation

◆ $assertStatementSubjectExists

AssertStatementSubjectExists Wikibase\Repo\RestApi\Application\UseCases\RemoveStatement\RemoveStatement::$assertStatementSubjectExists
private

◆ $assertUserIsAuthorized

AssertUserIsAuthorized Wikibase\Repo\RestApi\Application\UseCases\RemoveStatement\RemoveStatement::$assertUserIsAuthorized
private

◆ $statementRemover

StatementRemover Wikibase\Repo\RestApi\Application\UseCases\RemoveStatement\RemoveStatement::$statementRemover
private

◆ $statementRetriever

StatementWriteModelRetriever Wikibase\Repo\RestApi\Application\UseCases\RemoveStatement\RemoveStatement::$statementRetriever
private

◆ $validator

RemoveStatementValidator Wikibase\Repo\RestApi\Application\UseCases\RemoveStatement\RemoveStatement::$validator
private

The documentation for this class was generated from the following file: