X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ffilerepo%2FREADME;h=1423d3599c8d7a3fd7245192243f1da3efa739e8;hb=70739c2a974a61b280ce06e4b9c4f0ac4e4fa52c;hp=d3aea9f0c7a2fe83ee61b07cdfcde2fbd6fc02ff;hpb=dd2f53dc78895fc6d600371306cec3464bcfb287;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/filerepo/README b/includes/filerepo/README index d3aea9f0c7..1423d3599c 100644 --- a/includes/filerepo/README +++ b/includes/filerepo/README @@ -18,10 +18,10 @@ repository-specific configuration is needed, or in static members of File or FileRepo, where no such configuration is needed. File objects are generated by a factory function from the repository. The -repository thus has full control over the behaviour of its subsidiary file +repository thus has full control over the behavior of its subsidiary file class, since it can subclass the file class and override functionality at its whim. Thus there is no need for the File subclass to query its parent repository -for information about repository-class-dependent behaviour -- the file subclass +for information about repository-class-dependent behavior -- the file subclass is generally fully aware of the static preferences of its repository. Limited exceptions can be made to this rule to permit sharing of functions, or perhaps even entire classes, between repositories.