public function makeConsole(Enviroment $enviroment): ?Parser
    {
        if (!$enviroment->isConsole()) {
            return null;
        }

        return Parser::make()
            ->addDecorator(PaddingDecorator::make())
            ->addDecorator(LineWidthDecorator::make())
            ->addDecorator(ConsoleTagDecorator::make())
            ->addDecorator(MarginDecorator::make());
    }
public function makeConsole(Enviroment $enviroment): ?Parser
    {
        if (!$enviroment->isConsole()) {
            return null;
        }

        return Parser::make()
            ->addDecorator(PaddingDecorator::make())
            ->addDecorator(LineWidthDecorator::make())
            ->addDecorator(ConsoleTagDecorator::make())
            ->addDecorator(MarginDecorator::make());
    }
public function makeConsole ( Enviroment $ enviroment ) : ? Parser { if ( ! $ enviroment -> isConsole ( ) ) { return null ; } return Parser :: make ( ) -> addDecorator ( PaddingDecorator :: make ( ) ) -> addDecorator ( LineWidthDecorator :: make ( ) ) -> addDecorator ( ConsoleTagDecorator :: make ( ) ) -> addDecorator ( MarginDecorator :: make ( ) ) ; }
Crea un objeto Console Parser

@param \PlanB\Beautifier\Enviroment $enviroment

@return null|\PlanB\Beautifier\Parser\Parser
Crea un objeto Console Parser