Beispiel #1
0
 private function getAttributesFilename(splfileinfo $file)
 {
     $relativePathname = $this->normalizeDirSeparator($file->getRelativePathname());
     return $this->composeSubPath(sprintf('content/%s.meta', $relativePathname));
 }
Beispiel #2
0
 private function getAttributesFilename(splfileinfo $file)
 {
     return $this->composeSubPath(sprintf('content/%s.meta', $file->getRelativePathname()));
 }
Beispiel #3
0
<?php

$x = new splfileinfo(__FILE__);
try {
    $x->openFile(NULL, NULL, NULL);
} catch (Exception $e) {
}
var_dump($x->getPathName());
Beispiel #4
0
<?php

$x = new splfileinfo(1);
$x->__construct(1);
echo "done!\n";