1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-12 17:27:28 +01:00
psalm/src/Psalm/Internal/MethodIdentifier.php
2020-02-14 20:54:26 -05:00

26 lines
527 B
PHP

<?php
namespace Psalm\Internal;
class MethodIdentifier
{
public $fq_class_name;
public $method_name;
/**
* @param string $fq_class_name
* @param lowercase-string $method_name
*/
public function __construct(string $fq_class_name, string $method_name)
{
$this->fq_class_name = $fq_class_name;
$this->method_name = $method_name;
}
/** @return string */
public function __toString()
{
return $this->fq_class_name . '::' . $this->method_name;
}
}