hedronium\Jables\commands\Prettify::handle PHP Method

handle() public method

public handle ( )
    public function handle()
    {
        $this->info('Checking for JSON syntax Errors...');
        $errors = $this->checker->syntaxError();
        if ($errors !== null) {
            $this->error($errors);
            return false;
        }
        $this->info('Prettifying your JSON files...');
        $this->prettifyer->prettify();
        $this->info('Done.');
    }