for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Ivory\Value;
/**
* Reference to a PostgreSQL object by its signature.
*/
abstract class PgObjectSignatureRefBase extends PgObjectRefBase
{
private $argTypes;
public static function fromUnqualifiedName(string $name, PgTypeRef ...$argTypes)
$ref = new static(null, $name);
$ref->argTypes = $argTypes;
return $ref;
}
public static function fromQualifiedName(?string $schemaName, string $name, PgTypeRef ...$argTypes)
$ref = new static($schemaName, $name);
* @return PgTypeRef[] list of argument types
final public function getArgTypes(): array
return $this->argTypes;