This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class FooSettings | |
{ | |
public function __construct( | |
public readonly int $id, | |
public readonly string $name, | |
) { | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ | |
(?(DEFINE) | |
(?<entity> | |
& | |
( | |
[a-z][a-z0-9]+ # named entity | |
| | |
\#\d+ # decimal number | |
| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## canmore | |
// # The `canmore` tool creates and updates text documents that render to the user on a space next to the conversation (referred to as the "canvas"). | |
// Lean towards NOT using `canmore` if the content can be effectively presented in the conversation. Creating content with `canmore` can be unsettling for users as it changes the UI. | |
// ## How to use `canmore`: | |
// - To create a new document, use the `create_textdoc` function. Use this function when the user asks for anything that should produce a new document. Also use this when deriving a new document from an existing one. |
OlderNewer