public function setAttribute($path, $attribute, $value) {
		if ($attribute === 'system.dos_attr.mode' and is_int($value)) {
			$value = '0x' . dechex($value);
		}

		return $this->getState()->setxattr($this->buildUrl($path), $attribute, $value);
	}
public function setAttribute($path, $attribute, $value) {
		if ($attribute === 'system.dos_attr.mode' and is_int($value)) {
			$value = '0x' . dechex($value);
		}

		return $this->getState()->setxattr($this->buildUrl($path), $attribute, $value);
	}
public function setAttribute ( $ path , $ attribute , $ value ) { if ( $ attribute === 'system.dos_attr.mode' and is_int ( $ value ) ) { $ value = '0x' . dechex ( $ value ) ; } return $ this -> getState ( ) -> setxattr ( $ this -> buildUrl ( $ path ) , $ attribute , $ value ) ; }
Set extended attributes for the given path

@param string $path
@param string $attribute attribute to get the info
@param string|int $value
@return mixed the attribute value
Set extended attributes for the given path