Skip to content

Interfaces which specify accessors should be satisfied by property declaration #13

@cpriest

Description

@cpriest

An implementing class may specify a property with an appropriate access level to satisfy an accessor declaration requirement of an interface.

interface i {
    public $Seconds { get; }
}

class TimePeriod implements i {

    /* Satisfies interface implementation requirements of interface i */
    public $Seconds;
}

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions