for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* osCommerce Online Merchant
*
* @copyright Copyright (c) 2015 osCommerce; http://www.oscommerce.com
* @license GPL; http://www.oscommerce.com/gpllicense.txt
*/
namespace OSC\OM;
abstract class PagesActionsAbstract implements \OSC\OM\PagesActionsInterface
{
protected $page;
protected $file;
protected $is_rpc = false;
public function __construct(\OSC\OM\PagesInterface $page)
$this->page = $page;
if (isset($this->file)) {
$this->page->setFile($this->file);
}
public function isRPC()
return ($this->is_rpc === true);