(Componere 2 >= 2.1.0)
The Definition class allows the programmer to build and register a type at runtime.
Should a Definition replace an existing class, the existing class will be restored when the Definition is destroyed.
$name
, \Componere\Method $method
) : Definition