src/FileSystem/FileHandler.php
public function getContent(): ?string {
        if (null !== $this->content) return $this->content;
        if (!$this->isFile()) return null;
        $content = \file_get_contents($this->path);
        if (false === $content) return null;
        return $content;
    }
public function getContent(): ?string {
        if (null !== $this->content) return $this->content;
        if (!$this->isFile()) return null;
        $content = \file_get_contents($this->path);
        if (false === $content) return null;
        return $content;
    }
public function getContent ( ) : ? string { if ( null !== $ this -> content ) return $ this -> content ; if ( ! $ this -> isFile ( ) ) return null ; $ content = \ file_get_contents ( $ this -> path ) ; if ( false === $ content ) return null ; return $ content ; }
returns the file content if file is available. Otherwise null

@return null|string
returns the file content if file is available . Otherwise null