Phan\Language\FileRef::withFile PHP 메소드

withFile() 공개 메소드

public withFile ( string $file ) : static
$file string The path to the file in which this element is defined
리턴 static This context with the given value is returned
    public function withFile(string $file)
    {
        $context = clone $this;
        $context->file = $file;
        return $context;
    }