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
private static $mapping = [ | |
'fiscalCode' => ['type' => 'keyword', 'include_in_all' => false], | |
'vatNumber' => ['type' => 'keyword', 'include_in_all' => false], | |
'businessName' => ['type' => 'keyword', 'include_in_all' => true,], | |
'city' => ['type' => 'keyword', 'normalizer' => 'lowercase_asciifolding', 'include_in_all' => false], | |
'createdAt' => ['type' => 'keyword', 'include_in_all' => false], | |
]; | |
$settings = [ |
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
Verifying that +micheleorselli is my blockchain ID. https://onename.com/micheleorselli |
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
application: symfony-engine-ed | |
version: 1 | |
runtime: php | |
api_version: 1 | |
threadsafe: true | |
handlers: | |
- url: /favicon\.ico | |
static_files: web/favicon.ico |
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
<VirtualHost *:80> | |
ServerName dev | |
ServerAlias *.local | |
DocumentRoot "/Users/micheleorselli/workspace/www/" | |
SetEnv LocalDev true | |
RewriteEngine on | |
RewriteCond %{HTTP_HOST} !^www.* [NC] |
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
<?php | |
namespace Ideato\OfferBundle\Entity; | |
use FOS\UserBundle\Entity\User as BaseUser; | |
use Doctrine\ORM\Mapping as ORM; | |
use Doctrine\Common\Collections\ArrayCollection; | |
use Symfony\Component\Validator\Constraints as Assert; | |
use Symfony\Component\HttpFoundation\File\UploadedFile; | |
use Symfony\Component\Validator\ExecutionContext; |
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
<?php | |
namespace Ideato\OfferBundle\Entity; | |
use FOS\UserBundle\Entity\User as BaseUser; | |
use Doctrine\ORM\Mapping as ORM; | |
use Doctrine\Common\Collections\ArrayCollection; | |
use Symfony\Component\Validator\Constraints as Assert; | |
use Symfony\Component\HttpFoundation\File\UploadedFile; | |
use Symfony\Component\Validator\ExecutionContext; |
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
<?php | |
namespace Doctrine\ODM\PHPCR\Document; | |
use Doctrine\ODM\PHPCR\Mapping\Annotations as ODM; | |
/** | |
* This class represents a JCR file, aka nt:file. | |
* @ see http://wiki.apache.org/jackrabbit/nt:file | |
* |