Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51696 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5691 invoked from network); 15 Mar 2011 11:07:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Mar 2011 11:07:06 -0000 Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 209.85.214.170 mail-iw0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:64207] helo=mail-iw0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B0/60-03183-8584F7D4 for ; Tue, 15 Mar 2011 06:07:04 -0500 Received: by iwn3 with SMTP id 3so483985iwn.29 for ; Tue, 15 Mar 2011 04:07:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=EcU+7YOUCAgv5eStVZTKdq7FBWUyl6xY+lDKArSi0uA=; b=Ca2mSxgCedDICExQDx0b4vR2gdDl/rrPz6EG7t4EGu5iHS7K52P+ch4hGUIvYB4vR8 4hJzpEKxAXdvvQp7+HS9lzJJGbizo1cFuzXzBR5QtGMxhu3SClaPeH75z2JFuQFnt+mG HMAuo+p/NCcJfznexLvCAWy46xTVvcC2KepIo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=r493eB1JITOqkbGtrebRwFrEaOs0c/r8Uk0/7qUVBxphydW7p3svYR2gSPEvVUk1tD VuyYNcF+uFO1/tSPHCDeUbRnIen+N572ucqnqK2g1g1aVMTSh9EeMOCKPxjl6muxzSNK vRwuNoL17FKeVWCxP0NnFgZ03lnanoNRVrqzE= MIME-Version: 1.0 Received: by 10.42.18.136 with SMTP id x8mr6473171ica.337.1300187221699; Tue, 15 Mar 2011 04:07:01 -0700 (PDT) Received: by 10.231.10.134 with HTTP; Tue, 15 Mar 2011 04:07:01 -0700 (PDT) In-Reply-To: <46.00.03183.D554F7D4@pb1.pair.com> References: <20110313213928.GD4446@crousti> <54.6B.10215.BC23F7D4@pb1.pair.com> <46.00.03183.D554F7D4@pb1.pair.com> Date: Tue, 15 Mar 2011 14:07:01 +0300 Message-ID: To: Nick Pope Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] SplFileObject Countable From: indeyets@gmail.com (Alexey Zakhlestin) On Tue, Mar 15, 2011 at 1:54 PM, Nick Pope wrote: > Currently we have: > > =C2=A0 =C2=A0SplFileInfo =C2=A0-- information/metadata about a file. > =C2=A0 =C2=A0 =C2=A0 =C2=A0 | > =C2=A0 =C2=A0 =C2=A0 =C2=A0 V > =C2=A0 SplFileObject -- modify/access contents of a file. > > It could make sense to subclass this to provide methods for accessing > information about the contents of a file. =C2=A0As for a name, I'm not su= re what > would be best, but perhaps something like "SplFileData". =C2=A0Maybe some= one else > can come up with a better name? probably SplTextFileObject, as these methods make sense for text files --=20 Alexey Zakhlestin, http://twitter.com/jimi_dini http://www.milkfarmsoft.com/