src/Serializer/ArticleVersionNormalizer.php
public static function articleClass(string $type, string $status = null)
    {
        switch ($type) {
            case 'correction':
            case 'editorial':
            case 'feature':
            case 'insight':
            case 'research-advance':
            case 'research-article':
            case 'research-communication':
            case 'retraction':
            case 'registered-report':
            case 'replication-study':
            case 'scientific-correspondence':
            case 'short-report':
            case 'tools-resources':
                if ('poa' === $status) {
                    $class = ArticlePoA::class;
                } else {
                    $class = ArticleVoR::class;
                }

                return $class;
        }

        return null;
    }
public static function articleClass(string $type, string $status = null)
    {
        switch ($type) {
            case 'correction':
            case 'editorial':
            case 'feature':
            case 'insight':
            case 'research-advance':
            case 'research-article':
            case 'research-communication':
            case 'retraction':
            case 'registered-report':
            case 'replication-study':
            case 'scientific-correspondence':
            case 'short-report':
            case 'tools-resources':
                if ('poa' === $status) {
                    $class = ArticlePoA::class;
                } else {
                    $class = ArticleVoR::class;
                }

                return $class;
        }

        return null;
    }
public static function articleClass ( string $ type , string $ status = null ) { switch ( $ type ) { case 'correction' : case 'editorial' : case 'feature' : case 'insight' : case 'research-advance' : case 'research-article' : case 'research-communication' : case 'retraction' : case 'registered-report' : case 'replication-study' : case 'scientific-correspondence' : case 'short-report' : case 'tools-resources' : if ( 'poa' === $ status ) { $ class = ArticlePoA :: class ; } else { $ class = ArticleVoR :: class ; } return $ class ; } return null ; }
Selects the Model class from the 'type' and 'status' fields.

@return string|null
Selects the Model class from the type and status fields .