summaryrefslogtreecommitdiffstats
path: root/src/structs/coordinate.php
blob: d7093d4e0e7549f33d92fc41ac00aaf9afed3dc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php

class ezcGraphCoordinate
{
    public $x = 0;

    public $y = 0;
    
    /**
     * Empty constructor
     */
    public function __construct( $x, $y )
    {
        $this->x = $x;
        $this->y = $y;
    }

    /**
     * Throws a BasePropertyNotFound exception.
     */
    public function __set( $name, $value )
    {
        throw new ezcBasePropertyNotFoundException( $name );
    }

    /**
     * Throws a BasePropertyNotFound exception.
     */
    public function __get( $name )
    {
        throw new ezcBasePropertyNotFoundException( $name );
    }
}

?>
OpenPOWER on IntegriCloud