<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for getProfilListResponse StructType
 * @subpackage Structs
 */
class GetProfilListResponse extends AbstractStructBase
{
    /**
     * The profil
     * Meta information extracted from the WSDL
     * - maxOccurs: unbounded
     * - minOccurs: 1
     * @var ProfilType[]
     */
    public $profil;
    /**
     * Constructor method for getProfilListResponse
     * @uses GetProfilListResponse::setProfil()
     * @param ProfilType[] $profil
     */
    public function __construct(array $profil = array())
    {
        $this
            ->setProfil($profil);
    }
    /**
     * Get profil value
     * @return ProfilType[]
     */
    public function getProfil()
    {
        return $this->profil;
    }
    /**
     * Set profil value
     * @param ProfilType[] $profil
     * @return GetProfilListResponse
     */
    public function setProfil(array $profil = array())
    {
        $this->profil = $profil;
        return $this;
    }
    /**
     * Add item to profil value
     * @throws \InvalidArgumentException
     * @param ProfilType $item
     * @return GetProfilListResponse
     */
    public function addToProfil(ProfilType $item)
    {
        $this->profil[] = $item;
        return $this;
    }
}
