-
-
Save dgafka/aaacbad9fa376c8a11599c7da6738bd6 to your computer and use it in GitHub Desktop.
multi-tenancy-10.php
This file contains 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 | |
interface PersonService | |
{ | |
#[DbalWrite('INSERT INTO persons VALUES (:personId, :name, DEFAULT)')] | |
public function register(int $personId, string $name): void; | |
#[DbalWrite('UPDATE persons SET name = :name WHERE person_id = :personId')] | |
public function changeName(int $personId, string $name): int; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment