/**
* @throws Exception
* @throws Enlight_Event_Exception
*
* @return LessDefinition[]
*/
public function collectLessDefinitions(Shop\Template
$template, Shop\Shop
$shop) { $inheritances =
$this->inheritance->
buildInheritances($template);
$definitions =
$this->
collectInheritanceLess($inheritances['bare'
]);
$definitions =
array_merge( $definitions,
$this->
collectInheritanceCss($inheritances['bare'
]) );
$definitions =
array_merge( $definitions,
$this->
collectPluginLess($template,
$shop) );