REBELinBLUE\Deployer\Composers\ThemeComposer::compose PHP Method

compose() public method

Generates the pending and deploying projects for the view.
public compose ( Illuminate\Contracts\View\View $view )
$view Illuminate\Contracts\View\View
    public function compose(View $view)
    {
        $theme = config('deployer.theme');
        $user = Auth::user();
        if ($user) {
            if (!empty($user->skin)) {
                $theme = $user->skin;
            }
        }
        $view->with('theme', $theme);
    }
ThemeComposer