WriterInterface.php 592 Bytes
Newer Older
1
2
<?php
/*
Guillaume Perréal's avatar
CS.    
Guillaume Perréal committed
3
4
 * Copyright (C) 2016-2017 IRSTEA
 * All rights reserved.
5
6
7
8
9
10
11
12
 */

namespace Irstea\PlantUmlBundle\Writer;

interface WriterInterface
{
    /**
     * @param int $n
Guillaume Perréal's avatar
CS.    
Guillaume Perréal committed
13
     *
14
15
16
17
18
19
     * @return self
     */
    public function indent($n = 1);

    /**
     * @param int $n
Guillaume Perréal's avatar
CS.    
Guillaume Perréal committed
20
     *
21
22
23
24
25
26
     * @return self
     */
    public function dedent($n = 1);

    /**
     * @param string $data
Guillaume Perréal's avatar
CS.    
Guillaume Perréal committed
27
     *
28
29
30
31
32
33
     * @return self
     */
    public function write($data);

    /**
     * @param string $fmt
Raidelet Nicolas's avatar
Raidelet Nicolas committed
34
     * @param        mixed ...
Guillaume Perréal's avatar
CS.    
Guillaume Perréal committed
35
     *
36
37
     * @return self
     */
38
    public function writeFormatted($fmt);
39
}