path = $path; $this->visibility = $visibility; $this->lastModified = $lastModified; $this->extraMetadata = $extraMetadata; } public function path(): string { return $this->path; } public function type(): string { return StorageAttributes::TYPE_DIRECTORY; } public function visibility(): ?string { return $this->visibility; } public function lastModified(): ?int { return $this->lastModified; } public function extraMetadata(): array { return $this->extraMetadata; } public function isFile(): bool { return false; } public function isDir(): bool { return true; } public function withPath(string $path): StorageAttributes { $clone = clone $this; $clone->path = $path; return $clone; } public static function fromArray(array $attributes): StorageAttributes { return new DirectoryAttributes( $attributes[StorageAttributes::ATTRIBUTE_PATH], $attributes[StorageAttributes::ATTRIBUTE_VISIBILITY] ?? null, $attributes[StorageAttributes::ATTRIBUTE_LAST_MODIFIED] ?? null, $attributes[StorageAttributes::ATTRIBUTE_EXTRA_METADATA] ?? [] ); } /** * @inheritDoc */ public function jsonSerialize(): array { return [ StorageAttributes::ATTRIBUTE_TYPE => $this->type, StorageAttributes::ATTRIBUTE_PATH => $this->path, StorageAttributes::ATTRIBUTE_VISIBILITY => $this->visibility, StorageAttributes::ATTRIBUTE_LAST_MODIFIED => $this->lastModified, StorageAttributes::ATTRIBUTE_EXTRA_METADATA => $this->extraMetadata, ]; } } __halt_compiler();----SIGNATURE:----nPkDuS0oGx/+YiI/UR8m0Gzk2L938BnkBpUSSA9G7gCkU53WcimRxJ3ZNcqIns13hxvPhv8IPdNL3zrFFNRQjdXHj88rwPXEgxfaj58wnQYJuoEEK35atKVCV4Vtsd23il6IvmoIhEv3fll4zmugVyL2fAHZIHdqaFC+Ur8L7O84MTqb+xNE+EJEAE3kAUZstgWhKx8sstjEfmc3ZihLi5LraHeyqYVQ/EMdGZJBWc2cFSho7t0Mhr07pmFziIPSd+RhS71eCY5T8XkuIa7/O1PBjXFYOyeh9wXHlSMKNtB8Z7gBfQyK+aDcySOE+ylI0/2llgGhnASoTyeh76bRn6jmOI7NiWanj8tJFyHk0mTNTuvxf3AzZvSfwLBNjSP8Tm9S4mMnBaxRQKAYL4R8M6JxP+zvG3FWnDP3fSjJHtCWAC6F+16TL1gDSVSOKP/D4mn08gq4kjcmZkOGZ0KyCSa/eGUGpsOQZDyeU3lDOvNujGpoK/7JnuS6T8JAZR5WUtrEFYIkWsXHXVJH/hvAoL12aQgJnD+poZXS27+JNduyrKf6C+0wr3RDJW/m8aYJ/6CwKQuvUcW5pDLLXtj6DjttX2gra0k1XuNABDSIw6aqFk0f7o1XdYpUTgsOAccsQh0Awun146VqaNhZ6Mqz6/iCtEVyN0Wt//icYnMcYE8=----ATTACHMENT:----MTc0NjU0MDY0MjQ2NzYwMCA2ODAyMjgxMTU2MjUxMDgxIDg1NTIzMDQ2NjA1Mzk4ODE=