src/Textpattern/Composer/Installer/Plugin/Manifest.php
protected function help()
    {
        $out = [];

        if (isset($this->manifest->help) && is_string($this->manifest->help)) {
            return (string) $this->manifest->help;
        }

        if (empty($this->manifest->help->file)) {
            $files = $this->helpNames;
        } else {
            $files = $this->manifest->help->file;
        }

        foreach ((array) $files as $file) {
            $file = $this->path($file);

            if (file_exists($file) && is_file($file) && is_readable($file)) {
                $out[strtolower($file)] = file_get_contents($file);
            }
        }

        return implode("\n\n", $out);
    }
protected function help()
    {
        $out = [];

        if (isset($this->manifest->help) && is_string($this->manifest->help)) {
            return (string) $this->manifest->help;
        }

        if (empty($this->manifest->help->file)) {
            $files = $this->helpNames;
        } else {
            $files = $this->manifest->help->file;
        }

        foreach ((array) $files as $file) {
            $file = $this->path($file);

            if (file_exists($file) && is_file($file) && is_readable($file)) {
                $out[strtolower($file)] = file_get_contents($file);
            }
        }

        return implode("\n\n", $out);
    }
protected function help ( ) { $ out = [ ] ; if ( isset ( $ this -> manifest -> help ) && is_string ( $ this -> manifest -> help ) ) { return ( string ) $ this -> manifest -> help ; } if ( empty ( $ this -> manifest -> help -> file ) ) { $ files = $ this -> helpNames ; } else { $ files = $ this -> manifest -> help -> file ; } foreach ( ( array ) $ files as $ file ) { $ file = $ this -> path ( $ file ) ; if ( file_exists ( $ file ) && is_file ( $ file ) && is_readable ( $ file ) ) { $ out [ strtolower ( $ file ) ] = file_get_contents ( $ file ) ; } } return implode ( "\n\n" , $ out ) ; }
Gets help files.

@return string
Gets help files .