mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 17:27:36 +00:00
26 lines
446 B
PHP
26 lines
446 B
PHP
<?php
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
namespace Magento\Review\Block\Form;
|
|
|
|
/**
|
|
* Review form block
|
|
*
|
|
* @api
|
|
* @since 100.0.2
|
|
*/
|
|
class Configure extends \Magento\Review\Block\Form
|
|
{
|
|
/**
|
|
* Get review product id
|
|
*
|
|
* @return int
|
|
*/
|
|
public function getProductId()
|
|
{
|
|
return (int)$this->getRequest()->getParam('product_id', false);
|
|
}
|
|
}
|