src/Html/Form/FormStatus.php
public function generate(): string
    {
        $status = Tags::NBSP;
        if ($this->statusData['status-type'] !== '' && $this->statusData['status-text'] !== '') {
            $status = [
                Tags::div(
                    $this->getConstant($this->statusData['status-text']),
                    ['class' => $this->getConstant($this->statusData['status-type'])]
                )
            ];
        }
        return Tags::div($status, ['class' => 'status']);
    }
public function generate(): string
    {
        $status = Tags::NBSP;
        if ($this->statusData['status-type'] !== '' && $this->statusData['status-text'] !== '') {
            $status = [
                Tags::div(
                    $this->getConstant($this->statusData['status-text']),
                    ['class' => $this->getConstant($this->statusData['status-type'])]
                )
            ];
        }
        return Tags::div($status, ['class' => 'status']);
    }
public function generate ( ) : string { $ status = Tags :: NBSP ; if ( $ this -> statusData [ 'status-type' ] !== '' && $ this -> statusData [ 'status-text' ] !== '' ) { $ status = [ Tags :: div ( $ this -> getConstant ( $ this -> statusData [ 'status-text' ] ) , [ 'class' => $ this -> getConstant ( $ this -> statusData [ 'status-type' ] ) ] ) ] ; } return Tags :: div ( $ status , [ 'class' => 'status' ] ) ; }
Generates FormStatus and returns it

@return string
Generates FormStatus and returns it