note 119208 added to language.oop5.typehinting

From: Date: Tue, 19 Apr 2016 13:31:42 +0000
Subject: note 119208 added to language.oop5.typehinting
Groups: php.notes 
Request: Send a blank email to php-notes+get-205279@lists.php.net to get a copy of this message
In regards to http://php.net/manual/en/language.oop5.typehinting.php#103729 , when using PHP in Eclipse, the best way to typehint is already available in Eclipse natively. The format is /* @var $variable ObjectName */ The single /* is important. You can also use namespaces, IE /* @var $variable \Some\Namespace */ In short, there is no reason to create functions that return itself. ---- Server IP: 72.52.91.14 Probable Submitter: 104.138.69.123 ---- Manual Page -- http://php.net/manual/en/language.oop5.typehinting.php Edit -- https://master.php.net/note/edit/119208 Del: integrated -- https://master.php.net/note/delete/119208/integrated Del: useless -- https://master.php.net/note/delete/119208/useless Del: bad code -- https://master.php.net/note/delete/119208/bad+code Del: spam -- https://master.php.net/note/delete/119208/spam Del: non-english -- https://master.php.net/note/delete/119208/non-english Del: in docs -- https://master.php.net/note/delete/119208/in+docs Del: other reasons-- https://master.php.net/note/delete/119208 Reject -- https://master.php.net/note/reject/119208 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#205279) next »