1 | <?php |
||
26 | trait ResourceFlagsTrait |
||
27 | { |
||
28 | /** |
||
29 | * Explodes the ?: flag into pieces |
||
30 | * |
||
31 | * @param string $resource The resource string |
||
32 | * |
||
33 | * @return array The parsed resources |
||
34 | */ |
||
35 | 71 | protected function explodeResourceIfElse($resource) |
|
46 | |||
47 | /** |
||
48 | * Returns the array pieces of the exploded ?: into a string |
||
49 | * |
||
50 | * @param array $resource The resource array |
||
51 | * |
||
52 | * @return string The parsed string resource |
||
53 | */ |
||
54 | 46 | protected function implodeResourceIfElse($resource) |
|
62 | |||
63 | /** |
||
64 | * Checks to see if the file not found exception is suppressed |
||
65 | * |
||
66 | * @param string $resource The resource |
||
67 | * |
||
68 | * @return bool Is the exception suppressed |
||
69 | */ |
||
70 | 71 | private function checkSuppression($resource) |
|
74 | } |
||
75 |