jeyroik/toncenter-php-sdk

View on GitHub
src/interfaces/IHaveAttributes.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace tonc\interfaces;

interface IHaveAttributes extends ICanBeAsArray
{
    public function __construct(array $attributes);

    public function getAttribute(string $name, $default = null): mixed;
}