canDo('aml.name.import')) { return true; } return false; } /** * Determine if the given user can approve the given name. * * @param UserPolicyInterface $authUser * * @return bool */ public function export(UserPolicyInterface $authUser) { if ($authUser->canDo('aml.name.export')) { return true; } return false; } }