PiPHP\GPIO\FileSystem\FileSystem::getContents PHP Метод

getContents() публичный Метод

public getContents ( $path )
    public function getContents($path)
    {
        $stream = $this->open($path, 'r');
        $contents = @stream_get_contents($stream);
        fclose($stream);
        $this->exceptionIfFalse($contents);
        return $contents;
    }