src/main/php/routing/RoutingAnnotations.php
public function statusCodes(): array
    {
        return array_map(
                function($status)
                {
                    return new Status($status->getCode(), $status->getDescription());
                },
                $this->annotations->named('Status')
        );
    }
public function statusCodes(): array
    {
        return array_map(
                function($status)
                {
                    return new Status($status->getCode(), $status->getDescription());
                },
                $this->annotations->named('Status')
        );
    }
public function statusCodes ( ) : array { return array_map ( function ( $ status ) { return new Status ( $ status -> getCode ( ) , $ status -> getDescription ( ) ) ; } , $ this -> annotations -> named ( 'Status' ) ) ; }
returns list of possible status codes on this route

@return  stubbles\webapp\routing\api\Status[]
@since   6.1.0
returns list of possible status codes on this route