src/Commands/FacadePleaseDiag.php
public function handle()
    {
        $m_option = $this->option('methods');
        $pr_option = $this->option('private');
        $pb_option = $this->option('public');
        $name = $this->argument('name');
        $path = app_path(config('facadeplease.namespace') . $this->path . $name . 'ClassFacade.php');
        if(!file_exists($path)) {
            $this->error("\n    Whoopps! Facade couldn't be found, sorry.\n");
            $this->info("\n    Suggest:\n");
            $this->info("    'php artisan facade:list' to see the list of facades\n\n");
            exit();
        }
        $get_content = file_get_contents($path);
        $get_content = trim($get_content);
        $class = new \ReflectionClass("App\\" . config("facadeplease.namespace") . "\\" . $name . "ClassFacade");
        $methods = $class->getMethods(\ReflectionMethod::IS_PUBLIC);
        $private = $class->getMethods(\ReflectionMethod::IS_PRIVATE);
        $_m = "";
        if(!$m_option) {        
            $this->info("\n" . $name . ' Facade Diagnosis:');
            $this->info("");
            $this->info('Facade Name     : ' . $name);
            $this->info('Class Name      : ' . $name . "ClassFacade");
            $this->info('Path            : ' . $path);
            $this->info('Public Methods  : ' . count($methods));
            $this->info('Private Methods : ' . count($private));
        }
        if((!$pb_option && !$pr_option) || ($pb_option && !$pr_option) || ($pb_option && $pr_option)) {
            $this->info("\nPublic Methods:\n");
            foreach($methods as $item) {
                $_m .= "=> " . $item->name . "\n";
            }            
        }
        $this->info($_m);
        $_p = "";
        if((!$pb_option && !$pr_option) || (!$pb_option && $pr_option) || ($pb_option && $pr_option)) {
            $this->info("Private Methods:\n");
            foreach($private as $item1) {
                $_p .= "=> " . $item1->name . "\n";
            }
        }

        $this->info($_p);
    }
public function handle()
    {
        $m_option = $this->option('methods');
        $pr_option = $this->option('private');
        $pb_option = $this->option('public');
        $name = $this->argument('name');
        $path = app_path(config('facadeplease.namespace') . $this->path . $name . 'ClassFacade.php');
        if(!file_exists($path)) {
            $this->error("\n    Whoopps! Facade couldn't be found, sorry.\n");
            $this->info("\n    Suggest:\n");
            $this->info("    'php artisan facade:list' to see the list of facades\n\n");
            exit();
        }
        $get_content = file_get_contents($path);
        $get_content = trim($get_content);
        $class = new \ReflectionClass("App\\" . config("facadeplease.namespace") . "\\" . $name . "ClassFacade");
        $methods = $class->getMethods(\ReflectionMethod::IS_PUBLIC);
        $private = $class->getMethods(\ReflectionMethod::IS_PRIVATE);
        $_m = "";
        if(!$m_option) {        
            $this->info("\n" . $name . ' Facade Diagnosis:');
            $this->info("");
            $this->info('Facade Name     : ' . $name);
            $this->info('Class Name      : ' . $name . "ClassFacade");
            $this->info('Path            : ' . $path);
            $this->info('Public Methods  : ' . count($methods));
            $this->info('Private Methods : ' . count($private));
        }
        if((!$pb_option && !$pr_option) || ($pb_option && !$pr_option) || ($pb_option && $pr_option)) {
            $this->info("\nPublic Methods:\n");
            foreach($methods as $item) {
                $_m .= "=> " . $item->name . "\n";
            }            
        }
        $this->info($_m);
        $_p = "";
        if((!$pb_option && !$pr_option) || (!$pb_option && $pr_option) || ($pb_option && $pr_option)) {
            $this->info("Private Methods:\n");
            foreach($private as $item1) {
                $_p .= "=> " . $item1->name . "\n";
            }
        }

        $this->info($_p);
    }
Execute the console command.

@return mixed