Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. vfsStreamAbstractContent.php

function vfsStreamAbstractContent::chown

change owner of file to given user

Parameters

int $user:

Return value

$this

Overrides vfsStreamContent::chown

File

vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamAbstractContent.php, line 319

Class

vfsStreamAbstractContent
Base stream contents container.

Namespace

org\bovigo\vfs

Code

public function chown($user) {
    $this->user = $user;
    $this->lastAttributeModified = time();
    return $this;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal