note 106995 deleted from language.oop5.traits by danbrown

From: Date: Tue, 03 Jan 2012 21:58:22 +0000
Subject: note 106995 deleted from language.oop5.traits by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-185309@lists.php.net to get a copy of this message
Note Submitter: obw ---- Is there an IDE, which havea full or partly support of this new language feature? I have tried NetBeans 7.1RC2, ZendStudio 9.0, PHP-Storm, Eclipse with PTP. None of them have an build in Support for 5.4:(. Which is a little annoying, when you write a new CMS where the whole Plugin API is build on Traits... <?php namespace phpCMSng\Core; trait ClassMagic { /** * Get the Class Name * */ public static function getClassName() { return __CLASS__; } // More comes here } namespace phpCMSng\Plugin; abstract class API { use \phpCMSng\Core\ClassMagic, \phpCMSng\Core\DataHolderHelper, .... } ?> And no of the Methods of the traits can be used in the Autocomplition, also the normal Methods are sometimes hidden in Zend, as in Netbeans because of Syntax errors the internal PHP-Interpreters are seeing... regards Marcus

« previous php.notes (#185309) next »