TheSeer\phpDox\FileInfo
Synopsis
- // methods
- public void getRealPath()
- public bool exists()
- public void asFileUri()
- public void getPath()
- public void getRelative()
- public void getPathname()
- public void getLinkTarget()
- public void __toString()
- public void getFileInfo()
- public void getPathInfo()
- private void toUnix()
- // Inherited methods from SplFileInfo
- public void __construct()
- public int getATime()
- public string getBasename()
- public int getCTime()
- public string getExtension()
- public SplFileInfo getFileInfo()
- public string getFilename()
- public int getGroup()
- public int getInode()
- public string getLinkTarget()
- public int getMTime()
- public int getOwner()
- public string getPath()
- public SplFileInfo getPathInfo()
- public string getPathname()
- public int getPerms()
- public string getRealPath()
- public int getSize()
- public string getType()
- public bool isDir()
- public bool isExecutable()
- public bool isFile()
- public bool isLink()
- public bool isReadable()
- public bool isWritable()
- public SplFileObject openFile()
- public void setFileClass()
- public void setInfoClass()
- public void __toString()
Hierarchy
Coverage
Methods | 0% | 0 / 11 |
Lines | 0% | 0 / 26 |
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
58 | UnusedFormalParameter | Avoid unused parameters such as '$class_name'. |
62 | UnusedFormalParameter | Avoid unused parameters such as '$class_name'. |
Methods
private
public
- __toString()
- asFileUri()
- exists()
- getFileInfo()
- getLinkTarget()
- getPath()
- getPathInfo()
- getPathname()
- getRealPath()
- getRelative()
Inherited from SplFileInfo
public
- __toString() — Returns the path to the file as a string
- getATime() — Gets last access time of the file
- getBasename() — Gets the base name of the file
- getCTime() — Gets the inode change time
- getExtension() — Gets the file extension
- getFileInfo() — Gets an SplFileInfo object for the file
- getFilename() — Gets the filename
- getGroup() — Gets the file group
- getInode() — Gets the inode for the file
- getLinkTarget() — Gets the target of a link
- getMTime() — Gets the last modified time
- getOwner() — Gets the owner of the file
- getPath() — Gets the path without filename
- getPathInfo() — Gets an SplFileInfo object for the path
- getPathname() — Gets the path to the file
- getPerms() — Gets file permissions
- getRealPath() — Gets absolute path to file
- getSize() — Gets file size
- getType() — Gets file type
- isDir() — Tells if the file is a directory
- isExecutable() — Tells if the file is executable
- isFile() — Tells if the object references a regular file
- isLink() — Tells if the file is a link
- isReadable() — Tells if file is readable
- isWritable() — Tells if the entry is writable
- openFile() — Gets an SplFileObject object for the file
- setFileClass() — Sets the class name used with SplFileInfo::openFile
- setInfoClass() — Sets the class used with getFileInfo and getPathInfo
History
-
2014-05-04T00:51:08+02:00 (commit #02b0011)
Author: Arne Blankerts (Arne@Blankerts.de) / Commiter: Arne Blankerts (Arne@Blankerts.de)
Added Flag if relation should be inclusive or exclusive
-
2014-02-17T20:36:44+01:00 (commit #2277880)
Author: Arne Blankerts (Arne@Blankerts.de) / Commiter: Arne Blankerts (Arne@Blankerts.de)
Fix regression: getPath() shouldn't call getPathname()
-
2014-02-17T01:41:28+01:00 (commit #b659037)
Author: Arne Blankerts (Arne@Blankerts.de) / Commiter: Arne Blankerts (Arne@Blankerts.de)
Do not rely on realpath for file exists
-
2014-01-26T14:07:42+01:00 (commit #1f70c1f)
Author: Arne Blankerts (Arne@Blankerts.de) / Commiter: Arne Blankerts (Arne@Blankerts.de)
Added file exists check
-
2013-12-19T12:15:35+01:00 (commit #e4bba63)
Author: Arne Blankerts (Arne@Blankerts.de) / Commiter: Arne Blankerts (Arne@Blankerts.de)
Introduce custom FileInfo drop in replacement for SplFileInfo to force unix type path names on all platforms