viewer = $viewer; return $this; } public function loadFileData($phid) { $file = id(new PhabricatorFileQuery()) ->setViewer($this->viewer) ->withPHIDs(array($phid)) ->executeOne(); if (!$file) { return null; } return $file->loadFileData(); } }