protected function detectClassType()
    {
        //Some classes extend the facade
        if (interface_exists($this->facade)) {
            $this->classType = 'interface';
            $this->extends = $this->facade;
        } else {
            $this->classType = 'class';
            if (class_exists($this->facade)) {
                $this->extends = $this->facade;
            }
        }
    }
protected function detectClassType()
    {
        //Some classes extend the facade
        if (interface_exists($this->facade)) {
            $this->classType = 'interface';
            $this->extends = $this->facade;
        } else {
            $this->classType = 'class';
            if (class_exists($this->facade)) {
                $this->extends = $this->facade;
            }
        }
    }
protected function detectClassType ( ) { //Some classes extend the facade if ( interface_exists ( $ this -> facade ) ) { $ this -> classType = 'interface' ; $ this -> extends = $ this -> facade ; } else { $ this -> classType = 'class' ; if ( class_exists ( $ this -> facade ) ) { $ this -> extends = $ this -> facade ; } } }
Detect the class type
Detect the class type