public function renderImportedStaticDataResult(ConsoleOutput $output)
    {
        if (!isset($this->results['renderImportedStaticDataResult'])) {
            return;
        }
        foreach ($this->results['renderImportedStaticDataResult'] as $pathToStaticSqlFile) {
            // Output content of $pathToStaticSqlFile at cli context
            $absolutePath = PATH_site . $pathToStaticSqlFile;
            if (file_exists($absolutePath)) {
                $output->outputFormatted('<info>Import content of file "%s" into database.</info>', [$pathToStaticSqlFile]);
                $output->outputFormatted(file_get_contents($absolutePath), [], 2);
            }
        }
    }
public function renderImportedStaticDataResult(ConsoleOutput $output)
    {
        if (!isset($this->results['renderImportedStaticDataResult'])) {
            return;
        }
        foreach ($this->results['renderImportedStaticDataResult'] as $pathToStaticSqlFile) {
            // Output content of $pathToStaticSqlFile at cli context
            $absolutePath = PATH_site . $pathToStaticSqlFile;
            if (file_exists($absolutePath)) {
                $output->outputFormatted('<info>Import content of file "%s" into database.</info>', [$pathToStaticSqlFile]);
                $output->outputFormatted(file_get_contents($absolutePath), [], 2);
            }
        }
    }
public function renderImportedStaticDataResult ( ConsoleOutput $ output ) { if ( ! isset ( $ this -> results [ 'renderImportedStaticDataResult' ] ) ) { return ; } foreach ( $ this -> results [ 'renderImportedStaticDataResult' ] as $ pathToStaticSqlFile ) { // Output content of $pathToStaticSqlFile at cli context $ absolutePath = PATH_site . $ pathToStaticSqlFile ; if ( file_exists ( $ absolutePath ) ) { $ output -> outputFormatted ( '<info>Import content of file "%s" into database.</info>' , [ $ pathToStaticSqlFile ] ) ; $ output -> outputFormatted ( file_get_contents ( $ absolutePath ) , [ ] , 2 ) ; } } }
Output at cli context imported static database content.

@param ConsoleOutput $output
Output at cli context imported static database content .