fluente spelling
Hello!
I have a model with several public methods.
These methods have
return $ this;
In the controller I want to call these methods in the fluents spelling.
For example.
----------- my controller -----------------
$namePdfRechnung = $model_pdf
->setDaten($model_kundendatenUndBuchungsdaten)
->setSchriften($fontTexte)
->erstellenPdfSpalten() // navigation don't work
->setBuchungsnummer()
->erstellenGrunddokument()
->erstellenRechnungsblock()
->erstellenInformationen()
->speichernPdf(); // abspeichern Pdf
-------------------------------------
The Naviagtion in these methods with 'Ctrl' and 'mouseover'
works up to the 2nd Method. Who can help with information.
Sincerely yours
Stephan
Please sign in to leave a comment.
Hi there,
What version of PhpStorm do you use exactly (build number)?
Also -- do ALL of those methods have @return $this in PHPDoc (or what they have there)?
The build number is 5.0.2
Stephan
Please try v6 (especially latest EAP builds) -- there were big improvements/fixes made in this area.
P.S.
"5.0.2" is a version. Build number looks like 127.100 (v6), 124.240 (latest EAP of 6.0.1)
Thanks !