phprs\Invoker::check PHP Метод

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

检查参数是否均已经绑定
public check ( )
    public function check()
    {
        $params = $this->getBindParamPos();
        foreach ($this->method_args as $id => $arg) {
            list($name, $is_ref, $is_optional, $default) = $arg;
            if (false === array_search($id, $params)) {
                Verify::isTrue($is_optional, "{$this->ins->class}::{$this->method_name} param: {$name} not be bound");
            }
        }
    }