/** * Retrieves model formatter. * * @return ModelFormatter * @since 0.1.0 */ public function getModelFormatter() { if (!isset(static::$modelFormatter)) { static::$modelFormatter = new \ModelFormatter(); } return static::$modelFormatter; }
/** * Sets the model formatter to be used to discover a model * for Fuse. * * @param string $modelFormatter */ public static function setModelFormatter($modelFormatter) { static::$modelFormatter = $modelFormatter; }