Skip to content

CheckRegistry ​

Type
Class
Namespace
craft\mcp\contentmodel
Inherits
craft\mcp\contentmodel\CheckRegistry
Since
5.12.0

Registers content-model audit checks by their IDs.

View source

Public Methods ​

MethodDescription
__construct()
find()
ids()
register()

__construct() ​

View source

find() ​

View source

Arguments ​

  • $id

ids() ​

View source

Returns ​

list<string>

register() ​

View source

Arguments ​

  • $type (class-string<\craft\mcp\contentmodel\Check>)