Overview

Namespaces

  • GAubry
    • ErrorHandler
    • Helpers
    • Logger
    • Shell
  • Himedia
    • Padocc
      • DB
      • Minifier
      • Numbering
      • Properties
      • Task
        • Base
        • Extended
  • None
  • Psr
    • Log

Classes

  • PathStatus
  • ShellAdapter
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
 1: <?php
 2: 
 3: namespace GAubry\Shell;
 4: 
 5: /**
 6:  * All possible status for a file system path.
 7:  */
 8: final class PathStatus
 9: {
10:     /**
11:      * Path doesn't exist.
12:      * @var int
13:      */
14:     const STATUS_NOT_EXISTS = 0;
15: 
16:     /**
17:      * Path is a file.
18:      * @var int
19:      */
20:     const STATUS_FILE = 1;
21: 
22:     /**
23:      * Path is a directory.
24:      * @var int
25:      */
26:     const STATUS_DIR = 2;
27: 
28:     /**
29:      * Path is a broken symbolic link.
30:      * @var int
31:      */
32:     const STATUS_BROKEN_SYMLINK = 10;
33: 
34:     /**
35:      * Path is a symbolic link to a true file.
36:      * @var int
37:      */
38:     const STATUS_SYMLINKED_FILE = 11;
39: 
40:     /**
41:      * Path is a symbolic link to a directory.
42:      * @var int
43:      */
44:     const STATUS_SYMLINKED_DIR = 12;
45: 
46:     /**
47:      * Constructor.
48:      * @codeCoverageIgnore
49:      */
50:     private function __construct()
51:     {
52:     }
53: }
54: 
Platform for Automatized Deployments with pOwerful Concise Configuration API documentation generated by ApiGen 2.8.0