Puli\Repository\Resource\Metadata\FilesystemMetadata::getCreationTime PHP Метод

getCreationTime() публичный Метод

public getCreationTime ( )
    public function getCreationTime()
    {
        if (defined('PHP_WINDOWS_VERSION_MAJOR')) {
            $path = $this->fixWindowsPath($this->filesystemPath);
            clearstatcache(true, $path);
            return filectime($path);
        }
        // On Unix, filectime() returns the change time of the inode, not the
        // creation time.
        return 0;
    }