• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

RonasIT / laravel-entity-generator / 15134552254

20 May 2025 09:57AM UTC coverage: 99.89% (-0.001%) from 99.891%
15134552254

Pull #151

github

web-flow
Merge 40aa3c98d into 6bd833d50
Pull Request #151: 150 implement relations dto

15 of 15 new or added lines in 6 files covered. (100.0%)

910 of 911 relevant lines covered (99.89%)

5.77 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/DTO/RelationsDTO.php
1
<?php
2

3
namespace RonasIT\Support\DTO;
4

5
readonly class RelationsDTO
6
{
7
    public function __construct(
8
        public array $hasOne = [],
9
        public array $hasMany = [],
10
        public array $belongsTo = [],
11
        public array $belongsToMany = [],
12
    ) {
13
    }
22✔
14

15
    public function toArray(): array
16
    {
17
        return get_object_vars($this);
6✔
18
    }
19
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc