<?php

namespace Litecms\Aml;

use User;

class Amls
{
    /**
     * $name object.
     */
    protected $name;    /**
     * $nationality object.
     */
    protected $nationality;    /**
     * $sanction object.
     */
    protected $sanction;    /**
     * $deal object.
     */
    protected $deal;    /**
     * $kyc object.
     */
    protected $kyc;    /**
     * $edd object.
     */
    protected $edd;

    /**
     * Constructor.
     */
    public function __construct()
    {
        $this->name = $name;        $this->nationality = $nationality;        $this->sanction = $sanction;        $this->deal = $deal;        $this->kyc = $kyc;        $this->edd = $edd;
    }

    /**
     * Returns count of aml.
     *
     * @param array $filter
     *
     * @return int
     */
    public function count()
    {
        return  0;
    }

    /**
     * Find aml by slug.
     *
     * @param array $filter
     *
     * @return int
     */
    public function aml($slug)
    {
        return  $this->aml
            ->findBySlug($slig)
            ->toArray();
    }
}