|
5 anni fa | |
---|---|---|
.gitlab | 6 anni fa | |
Entity | 8 anni fa | |
Resources | 8 anni fa | |
Security | 8 anni fa | |
keys | 7 anni fa | |
.drone.yml | 7 anni fa | |
.gitlab-ci.yml | 5 anni fa | |
OwnerVoterBundle.php | 8 anni fa | |
README.md | 8 anni fa | |
composer.json | 7 anni fa |
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