public function definedIn(string ...$fileNames): self
    {
        $instance = clone $this;

        foreach ($fileNames as $fileName) {
            $instance->fileNames[] = $fileName;
        }

        return $instance;
    }
public function definedIn(string ...$fileNames): self
    {
        $instance = clone $this;

        foreach ($fileNames as $fileName) {
            $instance->fileNames[] = $fileName;
        }

        return $instance;
    }
public function definedIn ( string ... $ fileNames ) : self { $ instance = clone $ this ; foreach ( $ fileNames as $ fileName ) { $ instance -> fileNames [ ] = $ fileName ; } return $ instance ; }
Clones the construct and adds the file name to the list of files the construct is defined in.

@param string ...$fileNames

@return self
Clones the construct and adds the file name to the list of files the construct is defined in .