twigphp / twigphp/Twig

set object.property = value

Open
#4,696 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
8.4k
Forks
1.3k
Avg merge
1d 13h
Merged PRs (30d)
37

Description

With php's property accessors, property setters will go the way of the dinos.
Property write access will be the idiomatic way.

So Twig should support set object.property = value.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue identifies Twig property assignment syntax but names no file or test. Start by locating the parser and evaluation entry points for set object.property = value, then inspect existing property-access tests. Done means the requested assignment syntax works with PHP property accessors and is covered by a focused test.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.