/** * Shortcut to shared container get method. * * @param string $alias Class name or alias. * @return object|null * @throws \Interop\Container\Exception\ContainerException */ function spiral($alias) { return Core::sharedContainer()->get($alias); }