Creating components keeps controller code clean and allows you to reuse code between different Some examples of components requiring configuration are Authentication and Cookie. . The above would pass the array containing precision and randomGenerator to MathComponent::initialize() in the $config parameter..