Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Yes. Through phpdoc. More or less like this:
<?
/**
* @property int $price
* @property int $min_s
* @property int $max_s
*
* @property string $link
*
* @property Item[] $item
* @property Photo[] $photos
* @property Scheme[] $schemes
*/
class Example extends EActiveRecord{
/*class body*/
}
Methods can be added in the same way
<?php
/**
* Some class
*
* @method static returntype methodname() comment
* @method returntype methodname() comment
*/
?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question