src/helpers/PropertyStorageHelper.php
public static function storageById($id)
    {
        $handlers = self::storageHandlers();
        if (isset($handlers[$id])) {
            return $handlers[$id];
        } else {
            throw new ServerErrorHttpException("Storage handler with id $id not found.");
        }
    }
public static function storageById($id)
    {
        $handlers = self::storageHandlers();
        if (isset($handlers[$id])) {
            return $handlers[$id];
        } else {
            throw new ServerErrorHttpException("Storage handler with id $id not found.");
        }
    }
public static function storageById ( $ id ) { $ handlers = self :: storageHandlers ( ) ; if ( isset ( $ handlers [ $ id ] ) ) { return $ handlers [ $ id ] ; } else { throw new ServerErrorHttpException ( "Storage handler with id $id not found." ) ; } }
Returns AbstractPropertyStorage instance by PropertyStorage.id
@param integer $id
@return \DevGroup\DataStructure\propertyStorage\AbstractPropertyStorage
@throws ServerErrorHttpException
Returns AbstractPropertyStorage instance by PropertyStorage . id