Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasaab committed Apr 3, 2019
1 parent 9d53a8e commit 6d9d292
Show file tree
Hide file tree
Showing 55,227 changed files with 6,749,789 additions and 68 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
68 changes: 0 additions & 68 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,68 +0,0 @@
/.buildpath
/.cache
/.metadata
/.project
/.settings
/.vscode
atlassian*
/nbproject
/robots.txt
/pub/robots.txt
/sitemap
/sitemap.xml
/pub/sitemap
/pub/sitemap.xml
/.idea
/.gitattributes
/app/config_sandbox
/app/etc/env.php
/app/code/Magento/TestModule*
/lib/internal/flex/uploader/.actionScriptProperties
/lib/internal/flex/uploader/.flexProperties
/lib/internal/flex/uploader/.project
/lib/internal/flex/uploader/.settings
/lib/internal/flex/varien/.actionScriptProperties
/lib/internal/flex/varien/.flexLibProperties
/lib/internal/flex/varien/.project
/lib/internal/flex/varien/.settings
/node_modules
/.grunt
/Gruntfile.js
/package.json
/.php_cs
/.php_cs.cache
/grunt-config.json
/dev/tools/grunt/configs/local-themes.js
/pub/media/*.*
!/pub/media/.htaccess
/pub/media/attribute/*
!/pub/media/attribute/.htaccess
/pub/media/analytics/*
/pub/media/catalog/*
!/pub/media/catalog/.htaccess
/pub/media/customer/*
!/pub/media/customer/.htaccess
/pub/media/downloadable/*
!/pub/media/downloadable/.htaccess
/pub/media/favicon/*
/pub/media/import/*
!/pub/media/import/.htaccess
/pub/media/logo/*
/pub/media/theme/*
/pub/media/theme_customization/*
!/pub/media/theme_customization/.htaccess
/pub/media/wysiwyg/*
!/pub/media/wysiwyg/.htaccess
/pub/media/tmp/*
!/pub/media/tmp/.htaccess
/pub/media/captcha/*
/pub/static/*
!/pub/static/.htaccess

/var/*
!/var/.htaccess
/vendor/*
!/vendor/.htaccess
/generated/*
!/generated/.htaccess
.DS_Store
41 changes: 41 additions & 0 deletions .gitignore.save
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@

/.grunt
/Gruntfile.js
/package.json
/.php_cs
/.php_cs.cache
/grunt-config.json
/dev/tools/grunt/configs/local-themes.js
/pub/media/*.*
!/pub/media/.htaccess
/pub/media/attribute/*
!/pub/media/attribute/.htaccess
/pub/media/analytics/*
/pub/media/catalog/*
!/pub/media/catalog/.htaccess
/pub/media/customer/*
!/pub/media/customer/.htaccess
/pub/media/downloadable/*
!/pub/media/downloadable/.htaccess
/pub/media/favicon/*
/pub/media/import/*
!/pub/media/import/.htaccess
/pub/media/logo/*
/pub/media/theme/*
/pub/media/theme_customization/*
!/pub/media/theme_customization/.htaccess
/pub/media/wysiwyg/*
!/pub/media/wysiwyg/.htaccess
/pub/media/tmp/*
!/pub/media/tmp/.htaccess
/pub/media/captcha/*
/pub/static/*
!/pub/static/.htaccess

/var/*
!/var/.htaccess
/vendor/*
!/vendor/.htaccess
/generated/*
!/generated/.htaccess
.DS_Store
60 changes: 60 additions & 0 deletions app/etc/env.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?php
return [
'backend' => [
'frontName' => 'admin'
],
'crypt' => [
'key' => '5be5d4865c55ff40d57f7c575b02081e'
],
'db' => [
'table_prefix' => '',
'connection' => [
'default' => [
'host' => '/opt/bitnami/mysql/tmp/mysql.sock',
'dbname' => 'bitnami_magento',
'username' => 'bn_magento',
'password' => 'b066eae12f',
'model' => 'mysql4',
'engine' => 'innodb',
'initStatements' => 'SET NAMES utf8;',
'active' => '1'
]
]
],
'resource' => [
'default_setup' => [
'connection' => 'default'
]
],
'x-frame-options' => 'SAMEORIGIN',
'MAGE_MODE' => 'default',
'session' => [
'save' => 'files'
],
'cache_types' => [
'config' => 1,
'layout' => 1,
'block_html' => 1,
'collections' => 1,
'reflection' => 1,
'db_ddl' => 1,
'compiled_config' => 1,
'eav' => 1,
'customer_notification' => 1,
'config_integration' => 1,
'config_integration_api' => 1,
'full_page' => 1,
'config_webservice' => 1,
'translate' => 1,
'vertex' => 1
],
'install' => [
'date' => 'Mon, 14 Jan 2019 18:03:03 +0000'
],
'http_cache_hosts' => [
[
'host' => '127.0.0.1',
'port' => '80'
]
]
];
121 changes: 121 additions & 0 deletions generated/code/Amazon/Core/Helper/ClientIp/Proxy.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
<?php
namespace Amazon\Core\Helper\ClientIp;

/**
* Proxy class for @see \Amazon\Core\Helper\ClientIp
*/
class Proxy extends \Amazon\Core\Helper\ClientIp implements \Magento\Framework\ObjectManager\NoninterceptableInterface
{
/**
* Object Manager instance
*
* @var \Magento\Framework\ObjectManagerInterface
*/
protected $_objectManager = null;

/**
* Proxied instance name
*
* @var string
*/
protected $_instanceName = null;

/**
* Proxied instance
*
* @var \Amazon\Core\Helper\ClientIp
*/
protected $_subject = null;

/**
* Instance shareability flag
*
* @var bool
*/
protected $_isShared = null;

/**
* Proxy constructor
*
* @param \Magento\Framework\ObjectManagerInterface $objectManager
* @param string $instanceName
* @param bool $shared
*/
public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager, $instanceName = '\\Amazon\\Core\\Helper\\ClientIp', $shared = true)
{
$this->_objectManager = $objectManager;
$this->_instanceName = $instanceName;
$this->_isShared = $shared;
}

/**
* @return array
*/
public function __sleep()
{
return ['_subject', '_isShared', '_instanceName'];
}

/**
* Retrieve ObjectManager from global scope
*/
public function __wakeup()
{
$this->_objectManager = \Magento\Framework\App\ObjectManager::getInstance();
}

/**
* Clone proxied instance
*/
public function __clone()
{
$this->_subject = clone $this->_getSubject();
}

/**
* Get proxied instance
*
* @return \Amazon\Core\Helper\ClientIp
*/
protected function _getSubject()
{
if (!$this->_subject) {
$this->_subject = true === $this->_isShared
? $this->_objectManager->get($this->_instanceName)
: $this->_objectManager->create($this->_instanceName);
}
return $this->_subject;
}

/**
* {@inheritdoc}
*/
public function getRemoteClientIp()
{
return $this->_getSubject()->getRemoteClientIp();
}

/**
* {@inheritdoc}
*/
public function getAllowedIps($scope = 'store', $scopeCode = null)
{
return $this->_getSubject()->getAllowedIps($scope, $scopeCode);
}

/**
* {@inheritdoc}
*/
public function clientHasAllowedIp()
{
return $this->_getSubject()->clientHasAllowedIp();
}

/**
* {@inheritdoc}
*/
public function isModuleOutputEnabled($moduleName = null)
{
return $this->_getSubject()->isModuleOutputEnabled($moduleName);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?php
namespace Amazon\Login\Api\Data;

/**
* Factory class for @see \Amazon\Login\Api\Data\CustomerLinkSearchResultsInterface
*/
class CustomerLinkSearchResultsInterfaceFactory
{
/**
* Object Manager instance
*
* @var \Magento\Framework\ObjectManagerInterface
*/
protected $_objectManager = null;

/**
* Instance name to create
*
* @var string
*/
protected $_instanceName = null;

/**
* Factory constructor
*
* @param \Magento\Framework\ObjectManagerInterface $objectManager
* @param string $instanceName
*/
public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager, $instanceName = '\\Amazon\\Login\\Api\\Data\\CustomerLinkSearchResultsInterface')
{
$this->_objectManager = $objectManager;
$this->_instanceName = $instanceName;
}

/**
* Create class instance with specified parameters
*
* @param array $data
* @return \Amazon\Login\Api\Data\CustomerLinkSearchResultsInterface
*/
public function create(array $data = [])
{
return $this->_objectManager->create($this->_instanceName, $data);
}
}
45 changes: 45 additions & 0 deletions generated/code/Amazon/Login/Model/CustomerLinkFactory.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?php
namespace Amazon\Login\Model;

/**
* Factory class for @see \Amazon\Login\Model\CustomerLink
*/
class CustomerLinkFactory
{
/**
* Object Manager instance
*
* @var \Magento\Framework\ObjectManagerInterface
*/
protected $_objectManager = null;

/**
* Instance name to create
*
* @var string
*/
protected $_instanceName = null;

/**
* Factory constructor
*
* @param \Magento\Framework\ObjectManagerInterface $objectManager
* @param string $instanceName
*/
public function __construct(\Magento\Framework\ObjectManagerInterface $objectManager, $instanceName = '\\Amazon\\Login\\Model\\CustomerLink')
{
$this->_objectManager = $objectManager;
$this->_instanceName = $instanceName;
}

/**
* Create class instance with specified parameters
*
* @param array $data
* @return \Amazon\Login\Model\CustomerLink
*/
public function create(array $data = [])
{
return $this->_objectManager->create($this->_instanceName, $data);
}
}
Loading

0 comments on commit 6d9d292

Please sign in to comment.