Changeset View
Changeset View
Standalone View
Standalone View
src/app/Handlers/Storage.php
<?php | <?php | ||||
namespace App\Handlers; | namespace App\Handlers; | ||||
class Storage extends \App\Handlers\Base | class Storage extends \App\Handlers\Base | ||||
{ | { | ||||
public static function entitleableClass() | public static function entitleableClass() | ||||
{ | { | ||||
return null; | return \App\User::class; | ||||
} | } | ||||
public static function preReq($entitlement, $object) | public static function preReq($entitlement, $object) | ||||
{ | { | ||||
// TODO: The storage can not be modified to below what is already consumed. | // TODO: The storage can not be modified to below what is already consumed. | ||||
return true; | return true; | ||||
} | } | ||||
} | } |