/** * Get extended attributes for the path * * @param string $path * @param string $attribute attribute to get the info * @return string the attribute value */ public function getAttribute($path, $attribute) { $this->connect(); $result = $this->state->getxattr($this->buildUrl($path), $attribute); return $result; }