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
| { | |
| "@id":"\/errors", | |
| "@type":"hydra:Error", | |
| "title":"An error occurred", | |
| "detail":"Cannot access private property App\\Entity\\PersonPicture::$isMain", | |
| "status":500, | |
| "type":"\/errors\/500", | |
| "trace":[ | |
| { | |
| "file":"\/app\/vendor\/api-platform\/core\/src\/State\/CallableProcessor.php", |
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
| public DateTime SomeFunction() | |
| { | |
| var birthdayParty = DateTime.Now; | |
| return birthdayParty.RoundToQuarterCloser(); | |
| } |
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
| public class Club | |
| { | |
| public List<Trainer> GetTrainers() | |
| { | |
| // Query to the DB in real life. | |
| return new List<Trainer> | |
| { | |
| new Trainer { Name = "Jean" }, | |
| new Trainer { Name = "Amhed" }, | |
| new Trainer { Name = "Julie" }, |