All Data Structures Functions Variables Pages
Static Public Member Functions | Data Fields
RedBeanModelMemberIndexMetadataAdapter Class Reference

Static Public Member Functions

static resolve (array &$indexMetadata)
 
static resolveRandomIndexName ($indexName, $unique=false)
 

Data Fields

const MAX_INDEX_NAME_LENGTH = 40
 

Detailed Description

Adapter class to generate index definition when provided with indexName and indexMetadata

Definition at line 40 of file RedBeanModelMemberIndexMetadataAdapter.php.

Member Function Documentation

static resolve ( array &  $indexMetadata)
static

Provided indexName and metadata is resolved to match the requirements of schema definition

Parameters
array$indexMetadatapassed by reference, array containing index definition
Returns
bool whether or not we were able to resolve index correctly

Definition at line 49 of file RedBeanModelMemberIndexMetadataAdapter.php.

static resolveRandomIndexName (   $indexName,
  $unique = false 
)
static

Resolved a random index name

Returns
string

Definition at line 78 of file RedBeanModelMemberIndexMetadataAdapter.php.


The documentation for this class was generated from the following file:
Generated on Tue Jan 28 2020 07:10:39