protected function getIndexes()
    {
        $indexes = [];
        $rawIndexes = $this->getRawIndexes();

        foreach ($rawIndexes as $rawIndex) {
            $index = new Index($rawIndex->name);
            $index->addColumns(explode('|||', $rawIndex->columns));

            $indexes[] = $index;
        }

        return $indexes;
    }
protected function getIndexes()
    {
        $indexes = [];
        $rawIndexes = $this->getRawIndexes();

        foreach ($rawIndexes as $rawIndex) {
            $index = new Index($rawIndex->name);
            $index->addColumns(explode('|||', $rawIndex->columns));

            $indexes[] = $index;
        }

        return $indexes;
    }
protected function getIndexes ( ) { $ indexes = [ ] ; $ rawIndexes = $ this -> getRawIndexes ( ) ; foreach ( $ rawIndexes as $ rawIndex ) { $ index = new Index ( $ rawIndex -> name ) ; $ index -> addColumns ( explode ( '|||' , $ rawIndex -> columns ) ) ; $ indexes [ ] = $ index ; } return $ indexes ; }
Get all available indexed

@return array of CrestApps\CodeGenerator\Models\Index;
Get all available indexed