Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ReadInterface.php
Go to the documentation of this file.
1 <?php
7 
12 interface ReadInterface
13 {
20  public function getAbsolutePath($path = null);
21 
28  public function getRelativePath($path = null);
29 
36  public function read($path = null);
37 
45  public function search($pattern, $path = null);
46 
53  public function isExist($path = null);
54 
61  public function stat($path);
62 
69  public function isReadable($path = null);
70 
77  public function isFile($path);
78 
85  public function isDirectory($path = null);
86 
93  public function openFile($path);
94 
104  public function readFile($path, $flag = null, $context = null);
105 }
readFile($path, $flag=null, $context=null)
$pattern
Definition: website.php:22