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

public getContent ( string $path ) : string
$path string
Результат string
Пример #1
0
 /**
  * @param string $path
  *
  * @return \HippoPHP\Hippo\CheckResult[]
  */
 protected function checkPathFile($path)
 {
     $file = new File($path, $this->fileSystem->getContent($path));
     $checkResults = $this->checkFile($file);
     if ($this->observer !== null) {
         call_user_func($this->observer, $file, $checkResults);
     }
     return $checkResults;
 }