/** * Get all modules as laravel collection instance. * * @return \YCMS\Modules\Collection * @static */ public static function collections() { return \YCMS\Modules\Repository::collections(); }