public function info()
    {
        if (empty($this->activeModelClass)) {
            $info = false;
        } else {
            $info = $this->repository->getByModelClass($this->activeModelClass);
        }

        // Reset the active model class for future calls
        $this->activeModelClass = $this->currentModelClass;

        return $info;
    }
public function info()
    {
        if (empty($this->activeModelClass)) {
            $info = false;
        } else {
            $info = $this->repository->getByModelClass($this->activeModelClass);
        }

        // Reset the active model class for future calls
        $this->activeModelClass = $this->currentModelClass;

        return $info;
    }
public function info ( ) { if ( empty ( $ this -> activeModelClass ) ) { $ info = false ; } else { $ info = $ this -> repository -> getByModelClass ( $ this -> activeModelClass ) ; } // Reset the active model class for future calls $ this -> activeModelClass = $ this -> currentModelClass ; return $ info ; }
Returns model information data object for active model.

@return ModelInformation|false
Returns model information data object for active model .