register_disposition()
register_disposition(string $module, string $classname)
Register a disposition.
The class name must be unique to all registered dispositions. It is recommended that namespaces be used. This method will try to instantiate the class specified to ensure that it can be loaded properly.
Parameters
| string | $module | The module that contains this disposition. |
| string | $classname | The name of the class. The class must be derived from \CGProductBuilder\disposition |