private function getAttributesFilename(splfileinfo $file) { $relativePathname = $this->normalizeDirSeparator($file->getRelativePathname()); return $this->composeSubPath(sprintf('content/%s.meta', $relativePathname)); }
private function getAttributesFilename(splfileinfo $file) { return $this->composeSubPath(sprintf('content/%s.meta', $file->getRelativePathname())); }
<?php $x = new splfileinfo(__FILE__); try { $x->openFile(NULL, NULL, NULL); } catch (Exception $e) { } var_dump($x->getPathName());
<?php $x = new splfileinfo(1); $x->__construct(1); echo "done!\n";