mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-08 01:37:36 +00:00
24 lines
518 B
PHP
24 lines
518 B
PHP
<?php
|
|
/**
|
|
*
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
namespace Magento\Sales\Controller\AbstractController;
|
|
|
|
/**
|
|
* Interface \Magento\Sales\Controller\AbstractController\OrderViewAuthorizationInterface
|
|
* @api
|
|
*
|
|
*/
|
|
interface OrderViewAuthorizationInterface
|
|
{
|
|
/**
|
|
* Check if order can be viewed by user
|
|
*
|
|
* @param \Magento\Sales\Model\Order $order
|
|
* @return bool
|
|
*/
|
|
public function canView(\Magento\Sales\Model\Order $order);
|
|
}
|