<?php
namespace gnomephp\security;
interface Secure{
/**
* Should return true if user has access to the method, false if not.
*
* @param string $method The method name the dispatcher want to run, you can use switch statement if some methods require other authentication.
*/
public function hasAccessTo($method, $session);
}