<?php
namespace Alekseon\CustomFormsBuilder\Model\ResourceModel\Form;

/**
 * Interceptor class for @see \Alekseon\CustomFormsBuilder\Model\ResourceModel\Form
 */
class Interceptor extends \Alekseon\CustomFormsBuilder\Model\ResourceModel\Form implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Framework\Model\ResourceModel\Db\Context $context, \Alekseon\CustomFormsBuilder\Model\ResourceModel\Form\Attribute\CollectionFactory $attributeCollectionFactory, $connectionName = null)
    {
        $this->___init();
        parent::__construct($context, $attributeCollectionFactory, $connectionName);
    }

    /**
     * {@inheritdoc}
     */
    public function load(\Magento\Framework\Model\AbstractModel $object, $value, $field = null)
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'load');
        return $pluginInfo ? $this->___callPlugins('load', func_get_args(), $pluginInfo) : parent::load($object, $value, $field);
    }
}
