The method _resolveTextDomain is not named in camelCase. Open
protected function _resolveTextDomain($domain)
{
return $this->_resolveString($domain);
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method _setTextDomain is not named in camelCase. Open
protected function _setTextDomain($domain)
{
$this->textDomain = $domain;
return $this;
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method _resolveString is not named in camelCase. Open
protected function _resolveString($string)
{
if ($string instanceof Stringable) {
return (string) $string;
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method _resolveSubject is not named in camelCase. Open
protected function _resolveSubject($subject)
{
return $this->_resolveString($subject);
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method _resolveValue is not named in camelCase. Open
protected function _resolveValue($value)
{
if ($value instanceof Value) {
$value = $value->getValue();
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method _translateString is not named in camelCase. Open
protected function _translateString($string, $context = null)
{
$domain = $this->_getTextDomain();
$result = is_null($context)
? $this->_translateWithoutContext($string, $domain)
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method _resolveContext is not named in camelCase. Open
protected function _resolveContext($context)
{
return $this->_resolveString($context);
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method _translateWithoutContext is not named in camelCase. Open
protected function _translateWithoutContext($subject, $domain = null)
{
if (is_null($domain)) {
$domain = static::DEFAULT_TEXT_DOMAIN;
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method _getTextDomain is not named in camelCase. Open
protected function _getTextDomain()
{
return $this->textDomain;
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method _construct is not named in camelCase. Open
protected function _construct()
{
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}
Source
The method _translateWithContext is not named in camelCase. Open
protected function _translateWithContext($subject, $context, $domain = null)
{
if (is_null($domain)) {
$domain = static::DEFAULT_TEXT_DOMAIN;
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}