src/FillableForm.php
public function forms()
    {
        $response = static::query($this->client, [$this->fillable_form_id, self::FORMS_URI]);

        $forms = new ModelsList();

        if (isset($response['items'])) {
            foreach ($response['items'] as $item) {
                $forms[] = new FilledForm($this->client, $this->fillable_form_id, $item);
            }
        }
        return $forms;
    }
public function forms()
    {
        $response = static::query($this->client, [$this->fillable_form_id, self::FORMS_URI]);

        $forms = new ModelsList();

        if (isset($response['items'])) {
            foreach ($response['items'] as $item) {
                $forms[] = new FilledForm($this->client, $this->fillable_form_id, $item);
            }
        }
        return $forms;
    }
public function forms ( ) { $ response = static :: query ( $ this -> client , [ $ this -> fillable_form_id , self :: FORMS_URI ] ) ; $ forms = new ModelsList ( ) ; if ( isset ( $ response [ 'items' ] ) ) { foreach ( $ response [ 'items' ] as $ item ) { $ forms [ ] = new FilledForm ( $ this -> client , $ this -> fillable_form_id , $ item ) ; } } return $ forms ; }
Returns filled forms
@return array|ModelsList
@throws Exceptions\InvalidQueryException
@throws Exceptions\InvalidRequestException
@throws \ReflectionException
Returns filled forms