File: D:/HostingSpaces/SBogers85/equichecker.com/app/KommaApp/Customers/CustomerLoginFilter.php
<?php namespace KommaApp\Customers;
/**
*
*
* @author Komma <info@komma.pro>
* @copyright (c) 2012-2016, 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');
}
}