/** * Gets the available layouts * @return array Array with the machine name of the layout as key and an * instance of Layout as value */ public function getLayouts() { return $this->dependencyInjector->getAll('ride\\library\\cms\\layout\\Layout'); }
/** * Gets the available widgets * @return array Array with the machine name of the widget as key and an * instance of Widget as value */ public function getWidgets() { return $this->dependencyInjector->getAll('ride\\library\\cms\\widget\\Widget'); }