yii\BaseYii::getObjectVars PHP 메소드

getObjectVars() 공개 정적인 메소드

This method is provided such that we can get the public member variables of an object. It is different from "get_object_vars()" because the latter will return private and protected variables if it is called within the object itself.
public static getObjectVars ( object $object ) : array
$object object the object to be handled
리턴 array the public member variables of the object
    public static function getObjectVars($object)
    {
        return get_object_vars($object);
    }