-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not provide entity anymore, supply copy/paste info in README
- Loading branch information
1 parent
0665598
commit c93f2a2
Showing
9 changed files
with
61 additions
and
55 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
App\Entity\Addressing\Address: | ||
type: entity | ||
table: sylius_address | ||
fields: | ||
number: | ||
column: street_number | ||
type: string | ||
nullable: false | ||
options: | ||
default: '' | ||
addition: | ||
column: street_number_addition | ||
type: string | ||
nullable: true |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Entity\Addressing; | ||
|
||
use Doctrine\ORM\Mapping as ORM; | ||
use StefanDoorn\SyliusStreetNumberPlugin\Entity\Interfaces\StreetNumberAwareInterface; | ||
use StefanDoorn\SyliusStreetNumberPlugin\Entity\Traits\StreetNumberAddition; | ||
use Sylius\Component\Core\Model\Address as BaseAddress; | ||
|
||
/** | ||
* @ORM\Entity | ||
* @ORM\Table(name="sylius_address") | ||
*/ | ||
class Address extends BaseAddress implements StreetNumberAwareInterface | ||
{ | ||
use StreetNumberAddition; | ||
} |