for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/
namespace Notamedia\ConsoleJedi\Application\Command;
* Base class for Bitrix console command.
*
* @author Nik Samokhvalov <[email protected]>
class BitrixCommand extends Command
{
* {@inheritdoc}
public function isEnabled()
if ($this->getApplication()->isBitrixLoaded()) {
return true;
}
return false;