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 | |
use Money\Money; | |
use Product\Model\Prices; | |
return [ | |
'orm' => [ | |
Prices::class => [ | |
'type' => 'embeddedDocument', | |
'embedOne' => [ |
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
#!/bin/bash | |
sudo add-apt-repository ppa:webupd8team/sublime-text-3 | |
sudo apt-get update | |
sudo apt-get install wget git subversion php5-cli php-pear sublime-text-installer php5-sqlite | |
pear install --alldeps doc.php.net/phd | |
pear install --alldeps doc.php.net/phd_php | |
# Set the path to PHP from environment or use which to discover it |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
if Vagrant.has_plugin?("vagrant-cachier") | |
config.cache.scope = :box | |
else | |
puts "_Info_: Plugin '''vagrant-cachier''' is not installed." |