public function targetModel()
    {
        if (!isset($this->targetModel)) {
            $this->targetModel = $this->modelFactory()->get(Attachment::class);
        }

        return $this->targetModel;
    }
public function targetModel()
    {
        if (!isset($this->targetModel)) {
            $this->targetModel = $this->modelFactory()->get(Attachment::class);
        }

        return $this->targetModel;
    }
public function targetModel ( ) { if ( ! isset ( $ this -> targetModel ) ) { $ this -> targetModel = $ this -> modelFactory ( ) -> get ( Attachment :: class ) ; } return $ this -> targetModel ; }
Retrieve the model to alter.

@return ModelInterface
Retrieve the model to alter .