Skip to content

Commit

Permalink
updated composer
Browse files Browse the repository at this point in the history
  • Loading branch information
CedCommerce committed Sep 8, 2015
1 parent 141604c commit dca50e8
Show file tree
Hide file tree
Showing 13 changed files with 544 additions and 545 deletions.
36 changes: 18 additions & 18 deletions Block/DevTool/BlockHandles.php
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<?php
/**
* Copyright © 2015 CedCommerce. All rights reserved.
*/
namespace Ced\DevTool\Block\DevTool;
use Ced\DevTool\Block\DevTool;
class BlockHandles extends DevTool
{

/**
* Function for getting block handle details
* @return array
*/
public function getBlockHandleDetails()
{
return $this->_devToolHelper->getBlockDetails();
}

<?php
/**
* Copyright © 2015 CedCommerce. All rights reserved.
*/
namespace Ced\DevTool\Block\DevTool;
use Ced\DevTool\Block\DevTool;
class BlockHandles extends DevTool
{

/**
* Function for getting block handle details
* @return array
*/
public function getBlockHandleDetails()
{
return $this->_devToolHelper->getBlockDetails();
}

}
58 changes: 29 additions & 29 deletions Block/DevTool/Collections.php
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
<?php
namespace Ced\DevTool\Block\DevTool;
class Collections extends \Magento\Framework\View\Element\Template
{
/**
* @var \Ced\DevTool\Helper\Data
*/
protected $_devToolHelper;


/**
* @param \Ced\DevTool\Block\Context $context
*/
public function __construct( \Ced\DevTool\Block\Context $context)
{
$this->_devToolHelper = $context->getDevToolHelper();
parent::__construct($context);

}
/**
* Retrun all the details related to collection on a particular page load
*/
public function getCollectionDetails()
{
return $this->_devToolHelper->getDevToolData($this->_devToolHelper->_collectionKey);
}


}
<?php
namespace Ced\DevTool\Block\DevTool;
class Collections extends \Magento\Framework\View\Element\Template
{
/**
* @var \Ced\DevTool\Helper\Data
*/
protected $_devToolHelper;


/**
* @param \Ced\DevTool\Block\Context $context
*/
public function __construct( \Ced\DevTool\Block\Context $context)
{
$this->_devToolHelper = $context->getDevToolHelper();
parent::__construct($context);

}
/**
* Retrun all the details related to collection on a particular page load
*/
public function getCollectionDetails()
{
return $this->_devToolHelper->getDevToolData($this->_devToolHelper->_collectionKey);
}


}
58 changes: 29 additions & 29 deletions Block/DevTool/Models.php
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
<?php
namespace Ced\DevTool\Block\DevTool;
class Models extends \Magento\Framework\View\Element\Template
{
/**
* @var \Ced\DevTool\Helper\Data
*/
protected $_devToolHelper;


/**
* @param \Ced\DevTool\Block\Context $context
*/
public function __construct( \Ced\DevTool\Block\Context $context)
{
$this->_devToolHelper = $context->getDevToolHelper();
parent::__construct($context);

}
/**
* Retrun all the details related to Models on a particular page load
*/
public function getModelDetails()
{
return $this->_devToolHelper->getDevToolData($this->_devToolHelper->_modelKey);
}


}
<?php
namespace Ced\DevTool\Block\DevTool;
class Models extends \Magento\Framework\View\Element\Template
{
/**
* @var \Ced\DevTool\Helper\Data
*/
protected $_devToolHelper;


/**
* @param \Ced\DevTool\Block\Context $context
*/
public function __construct( \Ced\DevTool\Block\Context $context)
{
$this->_devToolHelper = $context->getDevToolHelper();
parent::__construct($context);

}
/**
* Retrun all the details related to Models on a particular page load
*/
public function getModelDetails()
{
return $this->_devToolHelper->getDevToolData($this->_devToolHelper->_modelKey);
}


}
80 changes: 40 additions & 40 deletions Block/DevTool/Request.php
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
<?php
namespace Ced\DevTool\Block\DevTool;
class Request extends \Magento\Framework\View\Element\Template
{
/**
* @var \Ced\DevTool\Helper\Data
*/
protected $_devToolHelper;
public $_getVariables;
public $_postVariables;


/**
* @param \Ced\DevTool\Block\Context $context
*/
public function __construct( \Ced\DevTool\Block\Context $context, \Magento\Framework\App\RequestInterface $request)
{
$this->_devToolHelper = $context->getDevToolHelper();
$this->_getVariables = $request->getParams();
parent::__construct($context);

}
/**
* Retrun all the details related to Module/Controller/Action on a particular page load
*/
public function getRequestDetails()
{
return $this->_devToolHelper->getDevToolData($this->_devToolHelper->_requestKey);
}
/**
* Retrun all the details related to GET ad POST variables on a particular page load
*/
public function getPostGetVariableDetails()
{
return $this->_getVariables;
}



}
<?php
namespace Ced\DevTool\Block\DevTool;
class Request extends \Magento\Framework\View\Element\Template
{
/**
* @var \Ced\DevTool\Helper\Data
*/
protected $_devToolHelper;
public $_getVariables;
public $_postVariables;


/**
* @param \Ced\DevTool\Block\Context $context
*/
public function __construct( \Ced\DevTool\Block\Context $context, \Magento\Framework\App\RequestInterface $request)
{
$this->_devToolHelper = $context->getDevToolHelper();
$this->_getVariables = $request->getParams();
parent::__construct($context);

}
/**
* Retrun all the details related to Module/Controller/Action on a particular page load
*/
public function getRequestDetails()
{
return $this->_devToolHelper->getDevToolData($this->_devToolHelper->_requestKey);
}
/**
* Retrun all the details related to GET ad POST variables on a particular page load
*/
public function getPostGetVariableDetails()
{
return $this->_getVariables;
}



}
Loading

0 comments on commit dca50e8

Please sign in to comment.