protected function getValidators( $types )
    {
        $validators = array();

        if ( 'image/*' == $types )
        {
            $validators[] = array(
                'name' => 'Zend\Validator\File\IsImage',
            );
        }
        else if ( ! empty( $types ) && '*' !== $types && '*/*' !== $types )
        {
            $validators[] = array(
                'name'      => 'Zend\Validator\File\MimeType',
                'options'   => array(
                    'mimeType' => $types
                ),
            );
        }

        return $validators;
    }