      </svg></a> </h2>
<section aria-labelledby="toc_factory-registrations">
<p>A factory can represent any part of your application, like a <em>route</em>, <em>template</em>, or custom class.
Every factory is registered with a particular key.
For example, the index template is registered with the key <code>template:index</code>,
and the application route is registered with the key <code>route:application</code>.</p>
<p>Registration keys have two segments split by a colon (<code>:</code>).
The first segment