interface PasswordBrokerContract
{
const PASSWORD_RESET = 'passwords.reset';
public function reset(array $credentials, Closure $callback);
}
class PasswordBroker implements PasswordBrokerContract
{
public function reset(array $credentials, Closure $callback)
{
// implementation
return static::PASSWORD_RESET;
}
}
Does it matter if you use self
or static
considering that interface constants can't be overridden by a class/interface that inherits them?