UserInterface.php 221 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
<?php namespace Modules\User\Entities;

interface UserInterface
{
    /**
     * Checks if a user belongs to the given Role ID
     * @param int $roleId
     * @return bool
     */
    public function hasRole($roleId);
}