public function move($directory, $name = null) { $this->directory = $directory; $this->name = $name; return $this; }