Patchwork\CodeManipulation\Stream::rename PHP Метод

rename() публичный Метод

public rename ( $path_from, $path_to )
    public function rename($path_from, $path_to)
    {
        $this->unwrap();
        if (isset($this->context)) {
            $result = rename($path_from, $path_to, $this->context);
        } else {
            $result = rename($path_from, $path_to);
        }
        $this->wrap();
        return $result;
    }