File: D:/HostingSpaces/SBogers10/topswtw.komma.pro/app/KommaApp/Shop/Customers/CustomerLoginFilter.php
<?php namespace KommaApp\Shop\Customers;
/**
* Short description for the file.
*
* @author Jaap Faes <jaap@komma.pro>
* @copyright (c) 2012-2015, Komma Mediadesign
*/
class CustomerLoginFilter
{
protected $customerService;
function __construct(CustomerService $customerService)
{
dd('Construct CustomerLoginFilter');
$this->customerService = $customerService;
}
public function filter()
{
dd('Filter CustomerLoginFilter');
if(\Auth::guest()) return \Redirect::guest('login');
}
}