خرید بک لینک

Vote count: 0

Is is possible (for type hinting purposes) to indicate the class of an object's property? The final product of the code works as expected, but, type hinting does not. For example, the following shows what I am trying to accomplish but that does not work:

    /* @var $this->view appcomponentsView */
    $this->view->title = 'Title here';

All I have ever seen were references to @var $this or similar, but never a property of the $this object. If this is possible, what am I missing?

asked 46 secs ago

برچسب: phpdoc for property,phpdoc property read,phpdoc property array,phpdoc property date,phpdoc no summary for property,phpdoc property static,phpdoc property function,phpdoc property string,phpdoc property mixed, نویسنده: استخدام کار تاريخ: پنجشنبه 8 مهر 1395 ساعت: 13:03

صفحه بندی