This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# flow kerja | |
- git checkout -b feature-1234 | |
- [coding] | |
- git add . | |
- git commit -m "mesage feature" | |
- git pull origin develop --rebase | |
- git push origin feature-1234 -f | |
- create pull request di website github / pakai extension | |
# log. melihat log commit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install. install all package dari composer.json | |
- composer install | |
# require. install package | |
- composer require <nama package> | |
# update | |
- composer update <nama package> | |
# remove |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Icube\Training\Helper; | |
use Magento\Framework\App\Helper\Context; | |
use Magento\Store\Model\StoreManagerInterface; | |
class Kuli extends \Magento\Framework\App\Helper\AbstractHelper | |
{ | |
public $_storeManager; | |
public function __construct( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Icube\Training\Helper; | |
use Magento\Framework\App\Helper\Context; | |
use Magento\Framework\App\Cache\TypeListInterface; | |
use Magento\Framework\App\Cache\Frontend\Pool; | |
class Kuli extends \Magento\Framework\App\Helper\AbstractHelper | |
{ | |
protected $cacheTypeList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Icube\Training\Controller\Index; | |
use \Magento\Framework\App\Action\Action; | |
use \Magento\Framework\App\Action\Context; | |
class Example extends Action | |
{ | |
protected $traineeFactory; |