| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | 48 | public function build(Trait_ $trait): TraitDefinition |
|
| 34 | { |
||
| 35 | 48 | return new TraitDefinition( |
|
| 36 | 48 | Name::from($trait->name), |
|
|
|
|||
| 37 | 48 | $this->membersBuilder->methods($trait->getMethods()), |
|
| 38 | 48 | $this->membersBuilder->attributes($trait->stmts), |
|
| 39 | 48 | $this->buildTraits($trait->stmts) |
|
| 40 | ); |
||
| 43 |