1<?php
2/**
3 * PHPTAL templating engine
4 *
5 * PHP Version 5
6 *
7 * @category HTML
8 * @package  PHPTAL
9 * @author Andrew Crites <explosion-pills@aysites.com>
10 * @license  http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License
11 * @version  SVN: $Id$
12 * @link     http://phptal.org/
13 */
14
15
16/**
17 * Representation of the template 'nothing' keyword
18 *
19 * @package PHPTAL
20 * @subpackage Keywords
21 */
22class PHPTAL_NothingKeyword implements PHPTAL_Keywords
23{
24    public function __toString()
25    {
26        return 'null';
27    }
28
29    public function count()
30    {
31        return 0;
32    }
33
34    public function jsonSerialize()
35    {
36        return null;
37    }
38}
39?>
40