Hoa central
Touchable.php
Go to the documentation of this file.
1 <?php
2 
37 namespace Hoa\Stream\IStream;
38 
47 interface Touchable
48 {
54  const OVERWRITE = true;
55 
61  const DO_NOT_OVERWRITE = false;
62 
68  const MAKE_DIRECTORY = true;
69 
75  const DO_NOT_MAKE_DIRECTORY = false;
76 
77 
78 
87  public function touch($time = -1, $atime = -1);
88 
98  public function copy($to, $force = self::DO_NOT_OVERWRITE);
99 
111  public function move(
112  $name,
113  $force = self::DO_NOT_OVERWRITE,
114  $mkdir = self::DO_NOT_MAKE_DIRECTORY
115  );
116 
122  public function delete();
123 
130  public function changeGroup($group);
131 
138  public function changeMode($mode);
139 
146  public function changeOwner($user);
147 
155  public static function umask($umask = null);
156 }
static umask($umask=null)
move($name, $force=self::DO_NOT_OVERWRITE, $mkdir=self::DO_NOT_MAKE_DIRECTORY)
copy($to, $force=self::DO_NOT_OVERWRITE)
touch($time=-1, $atime=-1)