Skip to content

Instantly share code, notes, and snippets.

@barbanet
Created April 29, 2016 04:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barbanet/f3ef389c3ad21fc9e897954f0d6fef36 to your computer and use it in GitHub Desktop.
Save barbanet/f3ef389c3ad21fc9e897954f0d6fef36 to your computer and use it in GitHub Desktop.
/Magento-CE-2.0.5/vendor/magento/module-customer/Model/Address/CustomAttributeList.php
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Customer\Model\Address;
class CustomAttributeList implements CustomAttributeListInterface
{
/**
* {@inheritdoc}
*/
public function getAttributes()
{
return [];
}
}
/Magento-CE-2.0.5/vendor/magento/module-customer/Model/Address/CustomAttributeListInterface.php
<?php
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Customer\Model\Address;
interface CustomAttributeListInterface
{
/**
* Retrieve list of customer addresses custom attributes
*
* @return array
*/
public function getAttributes();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment