<?php
/**
 * @author Jonathan Oddy <jonathan@moo.com>
 * @copyright Copyright (c) 2012, Moo Print Ltd.
 * @license ISC
 */
namespace Weasel\JsonMarshaller\Config\Serialization;
use Weasel\JsonMarshaller\Config\DoctrineAnnotations\JsonProperty;
use Weasel\JsonMarshaller\Config\DoctrineAnnotations\JsonTypeName;

/**
 * Class GetterSerialization
 * @package Weasel\JsonMarshaller\Config\Serialization
 * @JsonTypeName("getter")
 */
class GetterSerialization extends PropertySerialization
{

    /**
     * @var string
     * @JsonProperty(type="method")
     */
    public $method;

    function __construct($method = null, $type = null, $include = null, $typeInfo = null)
    {
        $this->method = $method;
        $this->include = $include;
        $this->type = $type;
        $this->typeInfo = $typeInfo;
    }

    public function __toString()
    {
        return "[GetterSerialization method={$this->method} include={$this->include} type={$this->type} typeInfo={$this->typeInfo}]";
    }


}

<?php
/**
 * @author Jonathan Oddy <jonathan@moo.com>
 * @copyright Copyright (c) 2012, Moo Print Ltd.
 * @license ISC
 */
namespace Weasel\JsonMarshaller\Config\Serialization;
use Weasel\JsonMarshaller\Config\DoctrineAnnotations\JsonProperty;
use Weasel\JsonMarshaller\Config\DoctrineAnnotations\JsonTypeName;

/**
 * Class GetterSerialization
 * @package Weasel\JsonMarshaller\Config\Serialization
 * @JsonTypeName("getter")
 */
class GetterSerialization extends PropertySerialization
{

    /**
     * @var string
     * @JsonProperty(type="string")
     */
    public $method;

    function __construct($method = null, $type = null, $include = null, $typeInfo = null)
    {
        $this->method = $method;
        $this->include = $include;
        $this->type = $type;
        $this->typeInfo = $typeInfo;
    }

    public function __toString()
    {
        return "[GetterSerialization method={$this->method} include={$this->include} type={$this->type} typeInfo={$this->typeInfo}]";
    }


}

Fix typo of Weasel type.
Fix typo of Weasel type.
