blob: c2d55ab8e0a0e7c1b7a0448559933dc60cd47d25 [file]
<?php
namespace Maslosoft\NbReport\Interfaces;
interface ConstInterface
{
const MyConstant = 'test';
}
namespace Maslosoft\NbReport;
use Maslosoft\NbReport\Interfaces\ConstInterface;
class BaseClass
{
public function __construct($myParam = ConstInterface::MyConstant)
{
;
}
public function myMethod($myParam = ConstInterface::MyConstant)
{
}
}
class DerivedClass extends BaseClass {
}