Skip to content

Configuration ​

Type
Class
Namespace
craft\mcp\capabilities
Inherits
craft\mcp\capabilities\Configuration
Since
5.12.0

View source

Public Methods ​

MethodDescription
__construct()
create()
delete()
get()
list()
schema()
update()

__construct() ​

View source

Arguments ​

  • $actor
  • $config
  • $schemas
  • $validator
  • $container

create() ​

View source

Arguments ​

  • $context
  • $type
  • $attributes (array<string,mixed>)

Returns ​

array<string,mixed>

delete() ​

View source

Arguments ​

  • $context
  • $type
  • $identifier (array<string,mixed>)
  • $options (array<string,mixed>)

Returns ​

array<string,mixed>

get() ​

View source

Arguments ​

  • $context
  • $type
  • $identifier (array<string,mixed>)

Returns ​

array<string,mixed>

list() ​

View source

Arguments ​

  • $context
  • $type

Returns ​

array<string,mixed>

schema() ​

View source

Arguments ​

  • $type
  • $operation

Returns ​

array<string,mixed>

update() ​

View source

Arguments ​

  • $context
  • $type
  • $identifier (array<string,mixed>)
  • $attributes (array<string,mixed>)

Returns ​

array<string,mixed>

Constants ​

ConstantDescription
AttributesSchema
IdentifierSchema