src/models/ClassMd.php
protected function computeType(){
        if( interface_exists( $this->class, false)){
            $this->type = 'Interface';
            return;
        }
        if( trait_exists( $this->class, false)){
            $this->type = 'Trait';
            return;
        }
        $this->type = 'Class';
    }
protected function computeType(){
        if( interface_exists( $this->class, false)){
            $this->type = 'Interface';
            return;
        }
        if( trait_exists( $this->class, false)){
            $this->type = 'Trait';
            return;
        }
        $this->type = 'Class';
    }
protected function computeType ( ) { if ( interface_exists ( $ this -> class , false ) ) { $ this -> type = 'Interface' ; return ; } if ( trait_exists ( $ this -> class , false ) ) { $ this -> type = 'Trait' ; return ; } $ this -> type = 'Class' ; }
Determine the type of class
Determine the type of class