annotation Assert::Assertions::Register

Overview

Contains metadata associated with an Assertion.

Used to define the assertion's annotation.

@[Assert::Assertions::Register(annotation: Assert::MyAssertion)]
class MyAssertion(PropertyType) < Assert::Assertions::Assertion
end

Defined in:

assertion.cr