src/PhpToZephir/Converter/Dispatcher.php
public function convert(array $stmts, ClassMetadata $metadata, ClassCollector $classCollector, Logger $logger)
    {
        $this->metadata = $metadata;
        $this->classCollector = $classCollector;
        $this->logger = $logger;

        return ltrim(str_replace("\n".self::noIndentToken, "\n", $this->pStmts($stmts, false)));
    }
public function convert(array $stmts, ClassMetadata $metadata, ClassCollector $classCollector, Logger $logger)
    {
        $this->metadata = $metadata;
        $this->classCollector = $classCollector;
        $this->logger = $logger;

        return ltrim(str_replace("\n".self::noIndentToken, "\n", $this->pStmts($stmts, false)));
    }
public function convert ( array $ stmts , ClassMetadata $ metadata , ClassCollector $ classCollector , Logger $ logger ) { $ this -> metadata = $ metadata ; $ this -> classCollector = $ classCollector ; $ this -> logger = $ logger ; return ltrim ( str_replace ( "\n" . self :: noIndentToken , "\n" , $ this -> pStmts ( $ stmts , false ) ) ) ; }
Pretty prints an array of statements.

@param \PhpParser\Node[] $stmts Array of statements

@return string Pretty printed statements
Pretty prints an array of statements .