public function getIndices()
    {
        $indices = $this->indices();

        if (empty($indices)) {
            $className = (new \ReflectionClass($this))->getShortName();

            return [$className];
        }

        return $indices;
    }
public function getIndices()
    {
        $indices = $this->indices();

        if (empty($indices)) {
            $className = (new \ReflectionClass($this))->getShortName();

            return [$className];
        }

        return $indices;
    }
public function getIndices ( ) { $ indices = $ this -> indices ( ) ; if ( empty ( $ indices ) ) { $ className = ( new \ ReflectionClass ( $ this ) ) -> getShortName ( ) ; return [ $ className ] ; } return $ indices ; }
Returns an array of indices for this model.

@return array
Returns an array of indices for this model .