Prado\TComponentReflection::__construct PHP Метод

__construct() публичный Метод

Constructor.
public __construct ( $component )
    public function __construct($component)
    {
        if (is_string($component) && class_exists($component, false)) {
            $this->_className = $component;
        } else {
            if (is_object($component)) {
                $this->_className = get_class($component);
            } else {
                throw new TInvalidDataTypeException('componentreflection_class_invalid');
            }
        }
        $this->reflect();
    }