public function save($inPlaceholder = "    //")
    {
        if (!file_exists($modelFile = app_path($target = $this->getTargetModel(). '.php'))) {
            throw new LogicException(sprintf('Model %s not found', $target));
        }

        $this->writeToModel($modelFile, $inPlaceholder);

        return true;
    }
public function save($inPlaceholder = "    //")
    {
        if (!file_exists($modelFile = app_path($target = $this->getTargetModel(). '.php'))) {
            throw new LogicException(sprintf('Model %s not found', $target));
        }

        $this->writeToModel($modelFile, $inPlaceholder);

        return true;
    }
public function save ( $ inPlaceholder = "    //" ) { if ( ! file_exists ( $ modelFile = app_path ( $ target = $ this -> getTargetModel ( ) . '.php' ) ) ) { throw new LogicException ( sprintf ( 'Model %s not found' , $ target ) ) ; } $ this -> writeToModel ( $ modelFile , $ inPlaceholder ) ; return true ; }
Saves the properties in the placeholder.
@param string $inPlaceholder
@return bool
@throws LogicException
Saves the properties in the placeholder .