|
%!s(int64=6) %!d(string=hai) anos | |
---|---|---|
Entity | %!s(int64=8) %!d(string=hai) anos | |
Resources | %!s(int64=8) %!d(string=hai) anos | |
Security | %!s(int64=8) %!d(string=hai) anos | |
keys | %!s(int64=7) %!d(string=hai) anos | |
.drone.yml | %!s(int64=7) %!d(string=hai) anos | |
.gitlab-ci.yml | %!s(int64=6) %!d(string=hai) anos | |
OwnerVoterBundle.php | %!s(int64=8) %!d(string=hai) anos | |
README.md | %!s(int64=8) %!d(string=hai) anos | |
composer.json | %!s(int64=7) %!d(string=hai) anos |
composer.json:
"repositories": [
{
"type": "vcs",
"url": "ssh://git@200.50.168.30:222/VendorSoftwareFlowdat3/OwnerVoter.git"
}
],
"require": {
"ik/owner-voter-bundle": "dev-master"
},
app/AppKernel.php:
public function registerBundles()
{
$bundles = [
new OwnerVoterBundle\OwnerVoterBundle()
];
.
.
}
app/config/config.yml:
imports:
- { resource: "@ExtraBundle/Resources/config/services.yml" }
use OwnerVoterBundle\Entity\Traits\OwnerTrait;
/**
* @ORM\Entity
*/
class Workflow implements OwnerTraitInterface
{
use OwnerVoterTrait;
.
.
}
Luego ejecutar
$ bin/console doctrine:schema:update --force