Camspiers\StatisticalClassifier\Model\ModelInterface::isPrepared PHP Метод

isPrepared() публичный Метод

Returns whether or not the model is prepared
public isPrepared ( ) : boolean
Результат boolean The prepared status
    public function isPrepared();

Usage Example

 /**
  * Return an model which has been prepared for classification
  * @return \Camspiers\StatisticalClassifier\Model\ModelInterface
  */
 protected function preparedModel()
 {
     if (!$this->model->isPrepared()) {
         $this->prepareModel();
     }
     return $this->model;
 }